git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Question about PERL_PATH

From
IAIan Abbott <abbotti@mev.co.uk>
Date
May 6, 2011, 16:42 UTC
Message-ID
<4DC424EB.6000107@mev.co.uk>
In-Reply-To
<7v7ha33jd7.fsf@alter.siamese.dyndns.org>
On 06/05/11 17:05, Junio C Hamano wrote:
Show 17 quoted lines
> Ian Abbott <abbotti@mev.co.uk> writes:
> 
>> The Gentoo ebuilds for git have started invoking 'make' with the option
>> 'PERL_PATH=/usr/bin/env perl'.  This doesn't seem to cause any problems
>> except when running git instaweb, which outputs an error similar to the
>> following:
>>
>> /usr/libexec/git-core/git-instaweb: line 135: /usr/bin/env perl: No such
>> file or directory
> 
> The variable is not PERL_COMMAND_LINE, but is PERL_PATH, so I think it
> should expects the path to the program.
> 
> Our testsuite also rely on it being the path to the program by enclosing
> the reference to it inside double quotes, to make sure that PERL_PATH set
> to "/Program Files/Perl/perl.exe" works.  Didn't Gentoo folks see any test
> breakage before shipping the ebuild procedure?

Both you and Michael make excellent points and I've submitted a Gentoo bug report mentioning this thread, so we'll see what happens!

http://bugs.gentoo.org/show_bug.cgi?id=366241
-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
Previous: Junio C HamanoNext: Robin H. Johnson
Message 4 of 7 in “Question about PERL_PATH”
  1. Ian AbbottMay 6, 2011
  2. Michael J GruberMay 6, 2011
  3. Junio C HamanoMay 6, 2011
  4. Ian AbbottMay 6, 2011
  5. Robin H. JohnsonMay 7, 2011
  6. Jeff KingMay 8, 2011
  7. Drew NorthupMay 9, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.