From: Jim Freeze Date: 2003-08-12T08:07:03+09:00 Subject: Re: How to build a distributable Solaris binary for Ruby 1.8? On Tuesday, 12 August 2003 at 0:53:30 +0900, Brian Candler wrote: > On Tue, Aug 12, 2003 at 12:39:12AM +0900, Venkat wrote: > > Instead of fighting with them, is there any way I can compile Ruby 1.8 > > in our Sun boxes to create a build I can take and and install in the > > customer's Solaris box? > > Something like this ought to do the trick: > > tar -czf rubydist.tar.gz \ > /usr/local/lib/ruby/1.8 /usr/local/lib/ruby/site-ruby/1.8 \ > /usr/local/bin/ruby /usr/local/bin/irb /usr/local/bin/erb \ > /usr/local/lib/libruby-static.a > If what you want is a binary install, then Brian's solution does all but change the paths stored inside the ruby executable. If you want to do a binary install, I can give you some code that will allow you to do a binary install and then change the internally stored paths to the correct location. -- Jim Freeze ---------- Jone's Law: The man who smiles when things go wrong has thought of someone to blame it on.