git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
From: Divyansh Garg <divyansh.gargsg@gmail.com>
To: git@vger.kernel.org
Subject: [GSOC] fatal error: curl/curl.h: No such file or directory
Date: Sat, 20 Feb 2021 19:27:32 +0530	[thread overview]
Message-ID: <CAB=huCZLwkBv-Fd4iUqbDwNuNfeFBfjPfKRzYUGShc727KJJzg@mail.gmail.com> (raw)

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

             reply	other threads:[~2021-02-20 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 13:57 Divyansh Garg [this message]
2021-02-20 14:11 ` Torsten Bögershausen
2021-02-20 19:07 ` SZEDER Gábor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAB=huCZLwkBv-Fd4iUqbDwNuNfeFBfjPfKRzYUGShc727KJJzg@mail.gmail.com' \
    --to=divyansh.gargsg@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).