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

Re: git installation (as private user) should NEVER write site_perl

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Feb 20, 2007, 18:53 UTC
Message-ID
<86y7msr786.fsf@blue.stonehenge.com>
In-Reply-To
<863b50snvv.fsf@blue.stonehenge.com>
>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:
>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

Randal> If git wants to add local Perl modules, they belong in Randal> ${prefix}/lib/perl/ or something, with the appropriate "use lib" added Randal> to the Perl scripts.

Randal> Oddly enough, if I define NO_PERL_MAKEMAKER, I get the behavior I want.

Randal> I suggest that NO_PERL_MAKEMAKER is the *only* correct behavior in this case, Randal> so I propose that the code be made unconditional, and the Makemaker stuff be Randal> pulled out.

So, something spookier is happening on this solaris box then. I can see that if MakeMaker is used, the Makefile.PL is referring to INST_LIBDIR which should indeed be private inside git's area. And in fact, I can verify on my laptop that Git.pm was indeed installed into /opt/git/lib/site_perl/5.8.8/

I don't know why this isn't working on solaris. :( It might be that the MakeMaker is too old, and doesn't respect the same prefix elements.

Call off the hounds... I can locally work around it by setting NO_PERL_MAKEMAKER, and suspect I won't have anything further to contribute to the core on this matter.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Randal L. Schwartz
Message 7 of 7 in “git installation (as private user) should NEVER write site_perl”
  1. Randal L. SchwartzFeb 20, 2007
  2. Erik MouwFeb 20, 2007
  3. Randal L. SchwartzFeb 20, 2007
  4. Erik MouwFeb 20, 2007
  5. Junio C HamanoFeb 20, 2007
  6. Randal L. SchwartzFeb 20, 2007
  7. Randal L. SchwartzFeb 20, 2007

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.