From: Matthieu Moy Date: Mon, 20 Sep 2010 14:40:23 GMT Subject: Re: Reduced privileges install Message-ID: In-Reply-To: <677DFF75-2DBB-4772-802B-4402E4024307@sb.org> Andrew Keller writes: > make -C perl prefix='/usr/users/students/ak4390/.local' DESTDIR='' install > make[1]: Entering directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/perl' > make[2]: Entering directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/perl' > Warning: You do not have permissions to install into /usr/perl5/site_perl/5.6.1/sun4-solaris-64int at /usr/perl5/5.6.1/lib/ExtUtils/Install.pm line 85. The DESTDIR='' is suspicious. It seems the prefix is not passed properly in recursive "make" invocations, and perl tries to install things in the default directory. Kevin Ballard writes: > Andrew Keller writes: >> $ ./configure --prefix=/usr/users/students/ak4390/.local >> $ make >> $ make install > > I admit, I'm not well-versed on the build system, but my impression > was that specifying --prefix in ./configure was indeed supposed to > propagate to a subsequent make and make install. It does. I installed Git successfully without ever being root on several machines. In my case, it was GNU/Linux machines, so something may go wrong because of a non-gnu system. Did you try compiling with gmake instead of make? -- Matthieu Moy http://www-verimag.imag.fr/~moy/