On May 12, 5:42 pm, Kyle Schmitt <kyleaschm... / gmail.com> wrote:
> stephen,
>              I've never tried it on HPUX, but the stock 1.8.6 source
> from ruby-lang.org compiled on irix 6.5 without any intervention
> (admittedly, it's got a gnu toolchain installed: autoconf, gnu make
> and gcc 3.x installed).  It's a 32 bit install on a 64 bit box, but
> considering it required no intervention at all, I'm not complaining,
> and I can wait to tweak it.
>
> Having just written that I decided to install gems: it installs fine,
> but complains about the socket library not being there.  Humm, guess I
> do need to tweak it.
>
> --Kyle
>
> On Mon, May 12, 2008 at 11:10 AM, stephen O'D
>
> <stephen.odonn... / gmail.com> wrote:
> > So I have the less than enjoyable of installing Ruby on a PA-RISC HPUX
> >  box - HPUX never makes it easy!
>
> >  I managed to get Ruby 1.8.4 installed from the HPUX ports site, but in
> >  the installation guide it says they disabled pthreads.
>
> >  Now when I attempt to install rubygems, its complains about not being
> >  able to require 'thread' as part of its installation.
>
> >  Does anyone know if there is a way to get Rubygems installed without
> >  pthread support, or does anyone have a recpie to install Ruby 1.8.4 or
> >  newer on HPUX with pthreads enabled?

I have battled with it a long way, and it gets really far into
compiling before complaining about unresolved symbols around zlib I
think.

When I build with --enable-pthread it doesn't get very far at all -
the build seems to go into some from of infinite loop until it gets
killed for using too much memory.

Pretty close to giving up on this one - I reckon its going to be
easier to track down a Linux or Solaris box as I just don't have the
HPUX skills to work it out :(