git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git installation (as private user) should NEVER write site_perl
@ 2007-02-20 17:18 Randal L. Schwartz
  2007-02-20 17:55 ` Erik Mouw
  2007-02-20 18:08 ` Randal L. Schwartz
  0 siblings, 2 replies; 7+ messages in thread
From: Randal L. Schwartz @ 2007-02-20 17:18 UTC (permalink / raw)
  To: git


I tried to install git on a system where I was a normal user.  Of course,
this step fails:

     Installing /usr/perl5/site_perl/5.6.1/Error.pm
     Installing /usr/perl5/site_perl/5.6.1/Git.pm

But on a larger level, this should never have even been attempted, whether I
was a private user OR the box administrator.  The git installation should NOT
be installing things into the site_perl directory, which is owned by the CPAN
installation tools, and also by the various packaging tools, and is also seen
by non-git users of Perl on the machine.  (It would be bad to have two
different versions of Error.pm now being seen by all users.)

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

No patches attached, but this is a showstopper for my client, and a bit of a
shocker for me.

-- 
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!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-02-20 18:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-20 17:18 git installation (as private user) should NEVER write site_perl Randal L. Schwartz
2007-02-20 17:55 ` Erik Mouw
2007-02-20 17:57   ` Randal L. Schwartz
2007-02-20 18:12     ` Erik Mouw
2007-02-20 18:21     ` Junio C Hamano
2007-02-20 18:08 ` Randal L. Schwartz
2007-02-20 18:53   ` Randal L. Schwartz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).