git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[GSOC] fatal error: curl/curl.h: No such file or directory

From
DGDivyansh 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 1
Divyansh Garg
Next: Torsten Bögershausen
Message 1 of 3 in “[GSOC] fatal error: curl/curl.h: No such file or directory”
  1. Divyansh GargFeb 20, 2021
  2. Torsten BögershausenFeb 20, 2021
  3. SZEDER GáborFeb 20, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.