Re: install does not obey DESTDIR or --prefix for perl modules
- From
- Craig Taylor <c@gryning.com>
- Date
- Sep 21, 2009, 19:19 UTC
- Message-ID
- <20090921191943.GE8173@gryning.com>
- In-Reply-To
- <7vskeguqmb.fsf@alter.siamese.dyndns.org>
On Mon, Sep 21, 2009 at 10:58:20AM -0700, Junio C Hamano wrote:
Show 25 quoted lines
> Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil> writes: > > > Craig Taylor wrote: > >> Hi all > >> > >> I'm compiling/installing git in a Solaris environment without root. > >> Using 'make DESTDIR=<some path> install' to stage an install to an > >> alternate location. > >> The perl module component of 'make DESTDIR=<some path> install' installs > >> into the system perl lib path without prepending the forced install > >> destination or my '--prefix'. > >> This seems counter intuitive and I would consider a bug. > > > > Try 'make prefix=<some path>'. > > > > btw, this is in the first paragraph of the INSTALL document. > > But is that what Craig is trying to do? > > I think he wants to build git to be installed in /usr/bin/git or whatever, > and he would say "prefix=/usr". He however wants "make install" to write > into /var/tmp/g/usr/bin/git, not /usr/bin/git, so that he can for example > make a tarball with "cd /var/tmp/g && tar cf ../git.tar .", and extract it > as root under the real '/'. "make DESTDIR=/var/tmp/g" is exactly for > that, and if it is not working I would say it is a bug.
Exactly as you describe here, different paths but same goal. All binaries follow the DESTDIR path except the perl modules.
To register this as a bug do I need to do more than send this email?
Thanks CraigT
-- c^ [c%5e] No think. No Talk. Train.