Ruby, HPUX and rubygems

S

stephen O'D

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?
 
K

Kyle Schmitt

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
 
S

stephen O'D

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

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 :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top