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

Re: Git's Perl scripts can fail if user is configured for perlbrew

From
Randy J. Ray <rjray@blackperl.com>
Date
Dec 29, 2014, 21:57 UTC
Message-ID
<54A1CE4A.7020408@blackperl.com>
In-Reply-To
<54A159D7.5010307@web.de>
On 12/29/14, 7:40 AM, Torsten Bögershausen wrote:
Show 28 quoted lines
> Having problems with different perl installations is not an unknown problem
> in Git, I would say.
>
> And Git itself is prepared to handle this situation:
>
> In Makefile I can read:
> # Define PERL_PATH to the path of your Perl binary (usually /usr/bin/perl).
>
> (What Git can not decide is which perl it should use, the one pointed out by $PATH or /usr/bin/perl.)
>
> What does
> "type perl" say ?
>
> And what happens when you build and install Git like this:
> PERL_PATH=/XX/YY/perl make install
>
> -----------
> Are you thinking about changing
> ifndef PERL_PATH
> 	PERL_PATH = /usr/bin/perl
> endif
> -- into --
> ifndef PERL_PATH
> 	PERL_PATH = $(shell which perl)
> endif
> ---
>
> At first glance that could make sense, at least to me.

The problem in this case is the Perl being used at run-time, not build-time. The building of git is done by the homebrew project in this case, so I don't have direct control over it.

Randy
-- 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray      Sunnyvale, CA      http://www.dereferenced.com
rjray@blackperl.com
twitter.com/rjray
Silicon Valley Scale Modelers: http://www.svsm.org
Previous: Torsten BögershausenNext: Ævar Arnfjörð Bjarmason
Message 6 of 8 in “Git's Perl scripts can fail if user is configured for perlbrew”
  1. Randy J. RayDec 28, 2014
  2. Ævar Arnfjörð BjarmasonDec 29, 2014
  3. Randy J. RayDec 29, 2014
  4. Kang-min LiuDec 29, 2014
  5. Torsten BögershausenDec 29, 2014
  6. Randy J. RayDec 29, 2014
  7. Ævar Arnfjörð BjarmasonDec 29, 2014
  8. Ben AvelingJan 2, 2015

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.