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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 20, 2021 at 07:27:32PM +0530, Divyansh Garg wrote:
> 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.

Welcome to the Git community.
You need to install the development package of some packages,
which come with header files (and not only the libs).

Being a lazy person, I collected all possible package names in a setupscript,
looking similar to this:
  APTGET="sudo apt-get install"
 type curl-config || $APTGET libcurl4-openssl-dev || $APTGET libcurl-devel
 test -r /usr/include/expat.h || $APTGET libexpat1-dev || $APTGET expat-devel || $APTGET libexpat-devel
 test -r /usr/include/ssl.h || test -r /usr/include/openssl/ssl.h || $APTGET openssl-devel || $APTGET  libssl-dev
 test -r /usr/include/zlib.h || $APTGET zlib1g-dev
 type msgfmt || $APTGET gettext

In other words,
sudo apt-get install libcurl-devel
could help.
And you probably need to install more dev/devel packages, unfortunatly different Linux distros
use different names for (from a user point of view) the same thing.
So I can't tell you out of my head, what Ubuntu needs, but there is hopefully a start point.

[snip]



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux