Reputation: 2505
I download the git package in my CentOS-7:
wget https://www.kernel.org/pub/software/scm/git/git-2.0.1.tar.gz
tar xzf git-2.0.1.tar.gz
When I compile the git:
cd git-2.0.1
make prefix=/usr/local/git all
I get the bellow error:
... CC vcs-svn/svndump.o AR vcs-svn/lib.a LINK git-remote-testsvn CC http.o In file included from http.c:2:0: http.h:6:23: fatal error:curl/curl.h:No such file or directory #include <curl/curl.h>
Upvotes: 3
Views: 6693
Reputation: 26896
Seems you did not install the curl
.
Use bellow command to install curl
yum install curl-devel -y
then retry your compile.
Upvotes: 6