From: nobu.nokada@... Date: 2004-09-26T13:14:00+09:00 Subject: Re: [Ruby Forum] Ruby extconf.rb / autoconf (in?)compatibility Hi, At Sat, 25 Sep 2004 04:32:49 +0900, Alexey Verkhovsky wrote in [ruby-talk:113667]: > Unfortunately I cannot understand how to correctly pass this option on > to ruby mkmf: > ruby extconf.rb > make They are decided at configuration time of ruby, but not at extconf. > I have seen that there is an option to make using > a DESTDIR variable such as: > make DESTDIR=$HOME/wherever/placetoinstall > > but then this creates deep directory structure > $HOME/wherever/placetoinstall/usr/local/lib/site_ruby/1.8/CompLearnLib > > and to me it seems that the /usr/local portion of the above path > structure is redundant. Is there a way to remove it in the ruby mkmf > extconf.rb structure? The best I can come up with so far is to use an mv > and then an rm command to correct things, and this seems somewhat > complicated and error-prone. DESTDIR is used to install files in a fake root by package management systems. -- Nobu Nakada