I need to have a running git version on a 32bit ubuntu machine, where I don't have root permissions. The PC is in a class room and I don't have root permissions to install e.g. curl.
For darcs the step is trivial, as I can download a static binary right from the website:
http://teratorn.org/code/darcs-2.8.0-linux-ghc7.0.4-CURL-packed.by.ermine.tar.bz2
I followed the instructions given in a previous question: compile-git-for-32-bit-linux-on-shared-hosting
I used the following command from a previouse post to configure the build:
./configure --prefix=/home/stephan/git-static CFLAGS="${CFLAGS}
-static -m32"
However, this leads to the following error:
checking whether the C compiler works... no
configure: error: in `/home/stephan/Downloads/git-1.7.12.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
Is there really no website where I can download a static git binary for 32 bit systems?
Do I have to install a 32 bit ubuntu in a VM?
I needed a quick solution and therefore I simply used darcs.
The static binaries of darcs are about 26mb big, they are very portable and are excellent for older systems. I got quickly used to the darcs commands, although I first though that this would take more time.
SmartGit could also help, but I think the whole client it is not open source. Further, I needed a console client for a bash script.