From: Tim Nordloh Date: 2006-03-22T05:48:07+09:00 Subject: Ruby on HP-UX ------=_Part_7571_27494188.1142974070555 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have read a couple of posts regarding compiling Ruby on HP-UX 11i, and I'm hoping for a little more insight on the exact requirements of doing tha= t type of install. Basically, the posts I have read haven't been understandable by someone like me. an earlier post referred to "disable ipv6 and wide-getaddrinfo so it uses Ruby's built-in getaddrinfo() instead." I have no idea how to do that, I'd love an example command or something. I am hoping that I can create a step-by-step procedure for installation on any HP-UX server, for people like me, where the high-level instructions are not helpful. Without further ado, here is where I've managed to get so far. 1. Download the 1.8.4 tar.gz file 2. run ./configure 3. run gmake (not make) 4. run gmake all at this point, I got the following error: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ld -b -E -L"../../.." -o ../../../.ext/hppa2.0w-hpux11.11/digest/md5.sl md5init.o md5ossl.o -lcrypto -ldld -lcrypt -lm -lc ld: Can't find library: "crypto" gmake[1]: *** [../../../.ext/hppa2.0w- hpux11.11/digest/md5.sl] Error 1 gmake[1]: Leaving directory `/home/tnordloh/ruby/ruby-1.8.4/ext/digest/md5' gmake: *** [all] Error 1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D so, I decided to play with the ext/Setup file mentioned in the README. By uncommenting 'option nodynamic' I'm able to get a clean gmake, and then 'gmake all', and I have a supposedly working ruby install (at least irb functions, and a very basic script works). The 'ri' command didn't work though, so on to that.... so now, I want documentation, which seems to be available by running gmake install-all this fails after running for quite some time with the following error: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D zlib.c: mcccccccccccccccccc........................................................= ........................... Generating RI... /home/tnordloh/ruby/ruby-1.8.4/lib/yaml.rb:87: uninitialized constant YAML::Syck::Resolver (NameError) from /home/tnordloh/ruby/ruby-1.8.4/lib/rdoc/ri/ri_descriptions.rb:= 1 from /home/tnordloh/ruby/ruby-1.8.4/lib/rdoc/ri/ri_reader.rb:1 from /home/tnordloh/ruby/ruby-1.8.4/lib/rdoc/generators/ri_generato= r.rb:46 from /home/tnordloh/ruby/ruby-1.8.4/lib/rdoc/rdoc.rb:250:in `document' from ./bin/rdoc:63 gmake: *** [do-install-doc] Error 1 My Ruby-expert friend believes this is because I'm missing some C headers. Any Ruby install gurus have an idea of what I should try here, or what I'm missing? ------=_Part_7571_27494188.1142974070555--