Re: [PATCH] Eliminate Scalar::Util usage from private-Error.pm
- From
Petr Baudis <pasky@suse.cz>
- Date
- Jul 26, 2006, 21:34 UTC
- Message-ID
- <20060726213409.GY13776@pasky.or.cz>
- In-Reply-To
- <Pine.LNX.4.63.0607260416070.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Hi!
Dear diary, on Wed, Jul 26, 2006 at 04:25:13AM CEST, I got a letter where Johannes Schindelin <Johannes.Schindelin@gmx.de> said that...
Show 7 quoted lines
> Nope. The culprit is
>
> use lib (split(/:/, $ENV{GITPERLLIB} || "/Library/Perl/darwin"));
>
> The latter, /Library/Perl/darwin comes from making "instlibdir" in perl/,
> which in turn is generated by "perl Makefile.PL". Calling the latter with
> PREFIX set does not change the output of "instlibdir" in any way.xpasky@machine[1:0]~/git-pb/perl$ perl Makefile.PL && make instlibdir Writing Makefile for Git /usr/lib/perl5/site_perl/5.8.8/i686-linux xpasky@machine[1:0]~/git-pb/perl$ perl Makefile.PL PREFIX=/home/xpasky && make instlibdir Writing Makefile for Git /home/xpasky/lib/perl5/site_perl/5.8.8/i686-linux
But it wouldn't help anyway, you would need to install git "to itself", which I'm not sure how well works.
I think in previous discussions it was deemed acceptable to require the user running Git in place to set PERL5LIB so that Git.pm is found.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Snow falling on Perl. White noise covering line noise. Hides all the bugs too. -- J. Putnam