Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to follow the steps mentioned here :

sudo yum --enablerepo=rpmforge install xmlto curl curl-devel
 # check for the latest version at
tar xvzf git-*.tar.gz
cd git-*
make configure
./configure --prefix=/usr --without-tcltk
make all
sudo make install

However, after typing make all, these are problems I get:

make: Warning: File `config.mak.autogen' has modification time 4e+02 s in the future
    SUBDIR perl
make[2]: *** No rule to make target `/usr/lib/perl5/5.8.5/i386-linux-thread-multi/', need       ed by `perl.mak'.  Stop.
make[1]: *** [all] Error 2
make: *** [all] Error 2
share|improve this question
Nevermind ... I just deleted the folder and re-created it. This time, it did give me a warning saying 'clock skew' detected, but it went through okay! – newbie123 Nov 27 '10 at 0:22

If you've already got rpmforge added as a yum source, why not just install the git package from there? It's a much newer version than the one you're compiling too.

share|improve this answer

The git tarball contains a RPM spec file. I.e. you can create git binary RPMs right from the tarball with a single command: rpmbuild -ta git-

Now you can do a clean install from RPMs instead of writing directly to the filesystem with make install. (This has many advantages e.g. you can always query from which package a file comes from with rpm -qf FILE if everything is installed by RPM.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.