From: Tim Nordloh Date: 2006-03-23T06:46:28+09:00 Subject: Re: Ruby on HP-UX ------=_Part_6261_9099241.1143063959861 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well, my basic Ruby scripts run ok for my basic needs, and no -- I don't 'need' to run Ruby on HP-UX. I'm the System Admin: I'll just label it as a 'non HP-UX compliant product' and tell any developer that wants to use it t= o use Perl for their interpreted language needs :) I'll just wait until some bright-eyed kid gets a version on the HP Software porting archive. Thanks all, for the attempts.... On 3/22/06, MenTaLguY wrote: > > I really think this approach of removing things until it compiles is a > mistake; if you did eventually get something that built, you'd just end u= p > with a build of Ruby that most likely won't run any useful Ruby scripts. > > Your main issue is one of how the libraries Ruby depends on were built or > installed -- you definitely do want to build them yourself, if you're > currently trying to use prepackaged versions. Part of the what's going o= n > is missing header files, but I have no idea what else is going on. If yo= u > build the libraries yourself with the default options (to the degree > possible), they're a known quantity. > > I actually created a /usr/local/ruby where I installed fresh builds of al= l > the required libraries. Note that doing so will required compiling > everything with e.g. -Wl,+b -Wl,/usr/local/ruby/lib though... > > Also, see my notes in the earlier post: > > http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/fdb97e= 11bcf2be54/d1dc4df9c0a875b8#d1dc4df9c0a875b8 > > I have to ask, though -- do you really need to do this on _HP-UX_? > > For me, it was almost more pain than it was worth -- not because of > adjustments required to Ruby itself, but because of quirks of the platfor= m > and the gymnastics required to build the libraries Ruby depends on in jus= t > the right way to make the dynamic linker happy. > > -mental > > > > ------=_Part_6261_9099241.1143063959861--