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

From: Erik Mouw <[email-masked]>
Date: Tue, 20 Feb 2007 19:12:24 +0100

On Tue, Feb 20, 2007 at 09:57:46AM -0800, Randal L. Schwartz wrote:
> >>>>> "Erik" == Erik Mouw <[email-masked]> writes:
> 
> Erik> On Tue, Feb 20, 2007 at 09:18:15AM -0800, Randal L. Schwartz wrote:
> >> 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
> 
> Erik> It gets installed in ~/share/perl/5.8.4/ when I compile as a normal
> Erik> user (git-1.5.0.1):
> 
> Erik> Installing /home/erik/share/perl/5.8.4/Error.pm
> Erik> Installing /home/erik/share/perl/5.8.4/Git.pm
> Erik> Installing /home/erik/man/man3/private-Error.3pm
> Erik> Installing /home/erik/man/man3/Git.3pm
> 
> Is that a personally-installed Perl though?  Those paths look suspicious.

No, just standard Debian stable packages:

  erik@zurix:~> which perl
  /usr/bin/perl
  erik@zurix:~> dpkg -S /usr/bin/perl
  perl-base: /usr/bin/perl
  perl-base: /usr/bin/perl
  erik@zurix:~> dpkg -l perl-base
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
  ||/ Name           Version        Description
  +++-==============-==============-============================================
  ii  perl-base      5.8.4-8sarge5  The Pathologically Eclectic Rubbish Lister

Git is installed in my home directory:

  erik@zurix:~ > which git
  /home/erik/bin/git

Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery