Archive for May, 2008

Git repo failing on submodule in debian

Is your git repository that has at least one submodule fails to clone on your server?

You have a very good chance that the git version on the server wont support submodules. The debian package installer comes with the git 1.4.4, which does not support submodules.

You may have better luck to compile git on your own.

To compile git.. say version 1.5.5

tar xzf git-1.5.5.tar.gz
cd git-1.5.5
sudo make install

You may also want to make sure you have all dependencies

apt-get update
apt-get build-dep git-core

It may be possible that your make may fail because of missing tcl/tk, if that is the case, then:

apt-get install tcl8.4
apt-get install tk8.4

Comments (1)