From: Tim Nordloh Date: 2006-03-23T02:44:14+09:00 Subject: Re: Ruby on HP-UX ------=_Part_2827_19261585.1143049403032 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Ok, I hand-modified it and ended up with this.... gcc -g -O2 -DRUBY_EXPORT -DYYMAXDEPTH=3D300 -Wl,-E -L. main.oext/extinit.o ext/bigdecimal/bigdecimal.a \ > ext/curses/curses.a ext/dbm/dbm.a ext/digest/md5/md5.a ext/digest/rmd160/rmd160.a ext/digest/sha1/sha1.a \ > ext/digest/sha2/sha2.a ext/iconv/iconv.a ext/openssl/openssl.a ext/zlib/zlib.a -lruby-static -ldld -lcrypt \ > -lm -lcur_colr -ltermcap -lssl -lcrypto -liconv -lnsl -lz -o ruby which seemed to run successfully. So, I went through and removed all references to the "/usr/local/include/openssl/lib" from all MakeFiles. I still got an error, so I ended up removing the "EXTLDFLAGS" entry (which contained the extra -E which was causing the compile failure. I was then able to successfully run the 'gmake' routine, as well as 'gmake all'. Thanks, this is the closest I've managed to get, but all that work "gmake install-all" appeared to successfully run, but I continue to get the same error when I attempt to run ri: root@atcito01 [/home/tnordloh/ruby/ruby-1.8.4] # ri File /usr/local/lib/ruby/1.8/yaml.rb:87: uninitialized constant YAML::Syck::Resolver (NameError) from /usr/local/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:1 from /usr/local/lib/ruby/1.8/rdoc/ri/ri_reader.rb:1 from /usr/local/lib/ruby/1.8/rdoc/ri/ri_driver.rb:5 from /usr/local/bin/ri:43 So what is the problem? On 3/22/06, Mauricio Fernandez wrote: > > On Thu, Mar 23, 2006 at 12:07:30AM +0900, Tim Nordloh wrote: > > These first couple of lines look like a malformed gcc command to > me. Anyone > > have an idea of what the line should read? > > > > gcc -g -O2 -DRUBY_EXPORT -DYYMAXDEPTH=3D300 -Wl,-E -L. > > -L"/usr/local/include/openssl/lib" -E main.o ext/extinit.o > =3D=3D=3D=3D > Could you try without this? > > > ext/bigdecimal/bigdecimal.a ext/curses/curses.a ext/dbm/dbm.a > > ext/digest/md5/md5.a ext/digest/rmd160/rmd160.a ext/digest/sha1/sha1.a > > ext/digest/sha2/sha2.a ext/iconv/iconv.a ext/openssl/openssl.a > > ext/zlib/zlib.a -lruby-static -ldld -lcrypt -lm -lcur_colr -ltermcap > -lssl > > -lcrypto -liconv -lnsl -lz -o ruby > > BTW, you might have to add digest (which digest/md5 and friends depend on= ) > and syck (in order to get ri to work) to the extension list. > > -- > Mauricio Fernandez - http://eigenclass.org - singular Ruby > > ------=_Part_2827_19261585.1143049403032--