I got the error:
[root@tricostar-nwlc git-1.7.0.3]# make prefix=/usr/local all
/bin/sh: curl-config: command not found
GIT_VERSION = 1.7.0.3
/bin/sh: curl-config: command not found
* new build flags or prefix
CC fast-import.o
....
When trying to make GIT. After a bit of googling, found that I needed to include curl-devel as a dependancy so the following instructions worked for me:
yum install zlib-devel openssl-devel perl cpio expat-devel gettext-devel
yum install libcurl3-openssl-dev
wget http://kernel.org/pub/software/scm/git/git-1.7.0.3.tar.gz
tar xvfz git-1.7.0.3.tar.gz
cd git-1.7.0.3
make prefix=/usr/local all
make prefix=/usr/local install
No comments:
Post a Comment