Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:56

merlyn@stonehenge.com (Randal L. Schwartz) writes:
quoted
quoted
quoted
quoted
quoted
"Erik" == Erik Mouw [off-list ref] writes:
Erik> On Tue, Feb 20, 2007 at 09:18:15AM -0800, Randal L. Schwartz wrote:
quoted
quoted
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.
Actually that is what I get on my Debian box (Perl is from
distribution).  I build with prefix=$HOME/git-next and get

        $ ls -lR ~/git-next/*/perl
        /home/junio/git-next/lib/perl:
        total 12
        drwxrwsr-x 3 junio junio 4096 2007-02-20 10:17 ./
        drwxrwsr-x 3 junio junio 4096 2007-02-20 10:17 ../
        drwxrwsr-x 3 junio junio 4096 2007-02-20 10:17 5.8.8/

        /home/junio/git-next/lib/perl/5.8.8:
        total 16
        drwxrwsr-x 3 junio junio 4096 2007-02-20 10:17 ./
        drwxrwsr-x 3 junio junio 4096 2007-02-20 10:17 ../
        drwxr-sr-x 3 junio junio 4096 2007-02-20 10:17 auto/
        -rw-rw-r-- 1 junio junio  221 2007-02-20 10:17 perllocal.pod

        /home/junio/git-next/lib/perl/5.8.8/auto:
        total 12
        drwxr-sr-x 3 junio junio 4096 2007-02-20 10:17 ./
        drwxrwsr-x 3 junio junio 4096 2007-02-20 10:17 ../
        drwxr-sr-x 2 junio junio 4096 2007-02-20 10:17 Git/

        /home/junio/git-next/lib/perl/5.8.8/auto/Git:
        total 12
        drwxr-sr-x 2 junio junio 4096 2007-02-20 10:17 ./
        drwxr-sr-x 3 junio junio 4096 2007-02-20 10:17 ../
        -rw-rw-r-- 1 junio junio   83 2007-02-20 10:17 .packlist

        /home/junio/git-next/share/perl:
        total 12
        drwxrwsr-x 3 junio junio 4096 2006-11-08 23:25 ./
        drwxr-sr-x 4 junio junio 4096 2006-11-08 23:25 ../
        drwxrwsr-x 2 junio junio 4096 2007-02-03 22:18 5.8.8/

        /home/junio/git-next/share/perl/5.8.8:
        total 32
        drwxrwsr-x 2 junio junio  4096 2007-02-03 22:18 ./
        drwxrwsr-x 3 junio junio  4096 2006-11-08 23:25 ../
        -r--r--r-- 1 junio junio 22332 2007-02-03 22:15 Git.pm

I have /usr/share/perl5/Error.pm that is packaged liberror-perl
from the distro.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help