From: nobu.nokada@... Date: 2003-04-06T17:30:18+09:00 Subject: Re: Tricky install question Hi, At Thu, 3 Apr 2003 22:34:20 +0900, Mike Wyer wrote: > > > So ruby must assume it's going to be running from > > > /prod/language/ruby/1.6.8, but it has to install into > > > /dev/language/ruby/1.6.8/install > > > > > > Is there an easy way of persuading instruby to do the right thing in this > > > situation? > > > > > > Setting DESTDIR to /dev gives /dev/prod/language/ruby/1.6.8/ which is no > > > good :) > > > > If your system supports symbolic link, you could use it. > > The /prod environment is read-only (hence the staging mechanism), so > symlinks won't do the trick. I meant symlink under /dev. $ ln -s . /dev/prod $ make DESTDIR=/dev install > I think instruby.rb is not designed for this > kind of install, but I would love to be wrong! You are not wrong. instruby.rb just prepends $(DESTDIR) to $(prefix). -- Nobu Nakada