From: Brandon Casey Date: Mon, 20 Sep 2010 19:12:27 GMT Subject: Re: Reduced privileges install Message-ID: In-Reply-To: <23ECDEF1-BDEC-45CC-B0CC-7E1A7BFE00BB@kellerfarm.com> [We prefer if you hit 'Reply-All' when replying so that all commenters are retained on the cc list] On 09/20/2010 11:56 AM, Andrew Keller wrote: > This is what it took to compile Git on this server without root privileges (Solaris 8 / Sparc): I thought it was Solaris 9? :) > # create a location for apps in my home folder: > mkdir ~/.local > export PATH=$PATH:/usr/users/students/ak4390/.local/bin > export MANPATH=$MANPATH:/usr/users/students/ak4390/.local/share/man Setting MANPATH is only necessary if you want to be able to type 'man git-add' or something. Instead, you can use the 'help' subcommand of git, or the --help option of each command, and it will display the man page for you. $ git help add > # compile and install git > $ ln -s /usr/local/bin/tclsh8.4 /usr/users/students/ak4390/.local/bin/tclsh You can set TCL_PATH instead of creating this symbolic link. > $ export CC=/usr/local/bin/gcc > $ cd > $ ./configure --prefix=/usr/users/students/ak4390/.local --with-python=/usr/local/bin/python --enable-pthreads=no > $ make NO_PERL_MAKEMAKER=1 all install > > Letting the configure figure out the threading did not seem to work. > The compile and install worked, with lots of warnings from gcc about not > recognizing -pthreads, but when you try to do a clone, git complained about > not being able to fork off the demultiplexer. So I just turned off threading > and it works. Maybe the configure script is broken with respect to detecting threads on Solaris 8 (or 9)? You probably don't really need to run the configure script on your platform. I don't. Since you're using gcc to compile, the default pthread switch '-lpthread' should be appropriate. You could try deleting the config.mak.autogen file that configure creates, and just run make by itself. Based on what you've describe, it would look something like this: cd rm config.mak.autogen cat >config.mak < The quick-install-man target still failed, Strange. You tried _after_ you installed git right? -Brandon