public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* Reduced privileges install
@ 2010-09-19 23:50 Andrew Keller
  2010-09-20  1:07 ` Randal L. Schwartz
  2010-09-20 14:53 ` Brandon Casey
  0 siblings, 2 replies; 17+ messages in thread
From: Andrew Keller @ 2010-09-19 23:50 UTC (permalink / raw)
  To: Git List

Hello, all.  Quick question:

I'm trying to build and install git 1.7.2.3 from source on a server at school used for my class.
'uname -a' is 'SunOS bloch 5.9 Generic_122300-54 sun4u sparc SUNW,UltraAX-i2'.

There were a few hiccups at first – things like CC not being defined, tclsh not existing, the path to python being wrong, etc, but they were all relatively easy to work around.  This last error, however, not so much luck.

Because I do not own the server and my account has restricted privileges, I attempted to augment my PATH to include a directory in my home folder, and then install git in there by specifying a prefix at the configure stage.  The configure and the make work, but the make install fails.  Here's the last section of the log:


$ make install

...

make -C templates DESTDIR='' install
make[1]: Entering directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/templates'
/usr/ucb/install -d -m 755 '/usr/users/students/ak4390/.local/share/git-core/templates'
(cd blt && gtar cf - .) | \
        (cd '/usr/users/students/ak4390/.local/share/git-core/templates' && umask 022 && gtar xof -)
make[1]: Leaving directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/templates'
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.
Installing /usr/perl5/site_perl/5.6.1/Error.pm
Installing /usr/perl5/site_perl/5.6.1/Git.pm
mkdir /usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto: Permission denied at /usr/perl5/5.6.1/lib/ExtUtils/Install.pm line 165
make[2]: *** [pure_site_install] Error 255
make[2]: Leaving directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/perl'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/perl'
make: *** [install] Error 2


So anyways, it appears that it is trying to install into a directory in which I do not have write permissions.  But why?  I thought that setting the prefix to a folder in my home directory would change that.  Is there another parameter I'm forgetting about at the configure stage?

Thanks,
Andrew Keller

PS: not sure if it matters, but just in case...
path to perl: /bin/perl
version of perl: 5.6.1

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

end of thread, other threads:[~2010-09-20 23:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-19 23:50 Reduced privileges install Andrew Keller
2010-09-20  1:07 ` Randal L. Schwartz
2010-09-20  1:31   ` Andrew Keller
2010-09-20  6:51     ` Kevin Ballard
2010-09-20 14:06       ` Andrew Keller
2010-09-20 14:40       ` Matthieu Moy
2010-09-20 14:52         ` Randal L. Schwartz
2010-09-20 15:48         ` Andrew Keller
2010-09-20 14:53 ` Brandon Casey
2010-09-20 16:56   ` Andrew Keller
2010-09-20 17:01     ` Ævar Arnfjörð Bjarmason
2010-09-20 20:28       ` Andrew Keller
2010-09-20 19:12     ` Brandon Casey
2010-09-20 19:18       ` Brandon Casey
2010-09-20 20:39         ` Andrew Keller
2010-09-20 22:53       ` Andrew Keller
2010-09-20 23:20         ` Brandon Casey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox