{"thread":{"id":"31586","subject":"git installation fails in home directory on ubuntu 12.04","startedAt":"2012-09-18T11:23:32Z","lastAt":"2012-09-18T18:09:27Z","messageCount":2,"participants":["Stefan Beller","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"199360","messageId":"505859B4.2090205@web.de","threadId":"31586","inReplyTo":null,"subject":"git installation fails in home directory on ubuntu 12.04","fromName":"Stefan Beller","fromEmail":"stefbel@web.de","sentAt":"2012-09-18T11:23:32Z","receivedAt":"2012-09-18T11:23:32Z","isPatch":false,"sender":{"key":"stefbel@web.de","avatar":null},"body":"So I did\ngit fetch\ngit rebase\ngit describe\nv1.7.12-503-g5976753\n\n./configure --prefix=/home/sb\nmake\nmake install\n    GEN perl/PM.stamp\n    SUBDIR gitweb\n    SUBDIR ../\n    SUBDIR perl\nmake[1]: `perl.mak' is up to date.\nmake[2]: `GIT-VERSION-FILE' is up to date.\n    GEN git-instaweb\n    SUBDIR git-gui\n    SUBDIR gitk-git\nmake[1]: Nothing to be done for `all'.\n    SUBDIR perl\n    SUBDIR git_remote_helpers\n    SUBDIR templates\ninstall -d -m 755 '/home/sb/bin'\ninstall -d -m 755 '/home/sb/libexec/git-core'\ninstall   git-credential-store git-daemon git-fast-import\ngit-http-backend git-imap-send git-sh-i18n--envsubst git-shell\ngit-show-index git-upload-pack git-http-fetch git-http-push\ngit-credential-cache git-credential-cache--daemon git-remote-http\ngit-remote-https git-remote-ftp git-remote-ftps git-am git-bisect\ngit-difftool--helper git-filter-branch git-lost-found git-merge-octopus\ngit-merge-one-file git-merge-resolve git-mergetool git-pull\ngit-quiltimport git-rebase git-repack git-request-pull git-stash\ngit-submodule git-web--browse git-add--interactive git-difftool\ngit-archimport git-cvsexportcommit git-cvsimport git-cvsserver\ngit-relink git-send-email git-svn git-remote-testgit git-p4 git-instaweb\n'/home/sb/libexec/git-core'\ninstall -m 644  git-mergetool--lib git-parse-remote git-rebase--am\ngit-rebase--interactive git-rebase--merge git-sh-setup git-sh-i18n\n'/home/sb/libexec/git-core'\ninstall git git-upload-pack git-receive-pack git-upload-archive\ngit-shell git-cvsserver '/home/sb/bin'\nmake -C templates DESTDIR='' install\nmake[1]: Entering directory `/home/sb/OSS/git/templates'\ninstall -d -m 755 '/home/sb/share/git-core/templates'\n(cd blt && tar cf - .) | \\\n\t(cd '/home/sb/share/git-core/templates' && umask 022 && tar xof -)\nmake[1]: Leaving directory `/home/sb/OSS/git/templates'\ninstall -d -m 755 '/home/sb/libexec/git-core/mergetools'\ninstall -m 644 mergetools/* '/home/sb/libexec/git-core/mergetools'\ninstall -d -m 755 '/home/sb/share/locale'\n(cd po/build/locale && tar cf - .) | \\\n\t(cd '/home/sb/share/locale' && umask 022 && tar xof -)\nmake -C perl prefix='/home/sb' DESTDIR='' install\nmake[1]: Entering directory `/home/sb/OSS/git/perl'\nmake[2]: Entering directory `/home/sb/OSS/git/perl'\nAppending installation info to /usr/local/lib/perl/5.14.2/perllocal.pod\nmkdir /usr/local/lib/perl: Permission denied at\n/usr/share/perl/5.14/ExtUtils/Command.pm line 288\nmake[2]: [doc_site_install] Error 13 (ignored)\n/bin/sh: 1: cannot create /usr/local/lib/perl/5.14.2/perllocal.pod:\nDirectory nonexistent\nmake[2]: [doc_site_install] Error 2 (ignored)\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nERROR: Can't create '/usr/local/share/man/man3'\nmkdir /usr/local/share/man/man3: Permission denied at\n/usr/share/perl/5.14/ExtUtils/Install.pm line 494\n\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n at -e line 1\nmake[2]: *** [pure_site_install] Error 13\nmake[2]: Target `install' not remade because of errors.\nmake[2]: Leaving directory `/home/sb/OSS/git/perl'\nmake[1]: *** [install] Error 2\nmake[1]: Leaving directory `/home/sb/OSS/git/perl'\nmake: *** [install] Error 2\n"},{"id":"199381","messageId":"7v627bnqy0.fsf@alter.siamese.dyndns.org","threadId":"31586","inReplyTo":"505859B4.2090205@web.de","subject":"Re: git installation fails in home directory on ubuntu 12.04","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-09-18T18:09:27Z","receivedAt":"2012-09-18T18:09:27Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stefan Beller <stefbel@web.de> writes:\n\n> So I did\n> git fetch\n> git rebase\n> git describe\n> v1.7.12-503-g5976753\n>\n> ./configure --prefix=/home/sb\n> make\n> make install\n>     GEN perl/PM.stamp\n>     SUBDIR gitweb\n>     SUBDIR ../\n>     SUBDIR perl\n> make[1]: `perl.mak' is up to date.\n> ...\n> make[1]: Entering directory `/home/sb/OSS/git/perl'\n> make[2]: Entering directory `/home/sb/OSS/git/perl'\n> Appending installation info to /usr/local/lib/perl/5.14.2/perllocal.pod\n> mkdir /usr/local/lib/perl: Permission denied at\n> /usr/share/perl/5.14/ExtUtils/Command.pm line 288\n\nI often do an equivalent of\n\n        make prefix=/home/gitster\n        make prefix=/home/gitster install\n\nand never saw this.  I do not use ./configure, and am not actively\ninvolved in maintaining that part of the system.\n\nAmong the people who touched configure.ac and aclocal.m4 in the past\n18 months, Stefano seems to be the most clueful with that part of\nthe system, and among those who touched perl/Makefile.PL during the\nsame period, I suspect Jonathan may know a thing or two about\nMakeMaker, so let's see if we can get help from these directions...\n"}]}