[GSOC] fatal error: curl/curl.h: No such file or directory
- From
- Divyansh Garg <divyansh.gargsg@gmail.com>
- Date
- Feb 20, 2021, 13:57 UTC
- Message-ID
- <CAB=huCZLwkBv-Fd4iUqbDwNuNfeFBfjPfKRzYUGShc727KJJzg@mail.gmail.com>
Hello, I am trying to build the source code on my system (Ubuntu 20.04). After cloning the repo, when I proceed with the command: make, I get the following error. I tried installing curl and searched the internet but couldn't get a fix. Please advise, how can I solve this problem.
divyansh:~/gsoc/git$ make
make: curl-config: Command not found
* new prefix flags
CC attr.o
CC config.o
CC exec-cmd.o
CC gettext.o
AR libgit.a
LINK git-daemon
LINK git-http-backend
LINK git-imap-send
LINK git-sh-i18n--envsubst
LINK git-shell
CC http.o
In file included from http.c:2:
http.h:6:10: fatal error: curl/curl.h: No such file or directory
6 | #include <curl/curl.h>
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2422: http.o] Error 1Divyansh Garg