* [Outreachy]Introduction and Problem while installing Git
@ 2023-10-12 6:57 Dorcas Litunya
2023-10-12 7:28 ` Benson Muite
0 siblings, 1 reply; 6+ messages in thread
From: Dorcas Litunya @ 2023-10-12 6:57 UTC (permalink / raw)
To: git
Hello everyone,
My name is Dorcas Litunya. I am excited to contribute to the git
community, I am a first time contributor through the Outreachy program.
I am excited to learn and grow through this project. I am currently
installing Git and I have been faced with this error once I run the make
command:
In file included from http.c:2:
git-curl-compat.h:3:10: fatal error: curl/curl.h: No such file or directory
3 | #include <curl/curl.h>
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2718: http.o] Error 1
Any assistance on what the possible problem could be will be highly
appreciated.
Kind regards,
Dorcas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Outreachy]Introduction and Problem while installing Git
2023-10-12 6:57 [Outreachy]Introduction and Problem while installing Git Dorcas Litunya
@ 2023-10-12 7:28 ` Benson Muite
2023-10-12 7:43 ` Kristoffer Haugsbakk
2023-10-12 16:20 ` Junio C Hamano
0 siblings, 2 replies; 6+ messages in thread
From: Benson Muite @ 2023-10-12 7:28 UTC (permalink / raw)
To: Dorcas Litunya, git
On 10/12/23 09:57, Dorcas Litunya wrote:
> Hello everyone,
> My name is Dorcas Litunya. I am excited to contribute to the git
> community, I am a first time contributor through the Outreachy program.
> I am excited to learn and grow through this project. I am currently
> installing Git and I have been faced with this error once I run the make
> command:
> In file included from http.c:2:
> git-curl-compat.h:3:10: fatal error: curl/curl.h: No such file or directory
> 3 | #include <curl/curl.h>
> | ^~~~~~~~~~~~~
You will need to have curl libraries and development headers.
https://curl.se/libcurl/
You maybe able to get these from a package manager, for example on Ubuntu
sudo apt-get install curl-dev
Fedora
sudo dnf install libcurl-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Outreachy]Introduction and Problem while installing Git
2023-10-12 7:28 ` Benson Muite
@ 2023-10-12 7:43 ` Kristoffer Haugsbakk
2023-10-12 7:52 ` Dorcas Litunya
2023-10-12 16:20 ` Junio C Hamano
1 sibling, 1 reply; 6+ messages in thread
From: Kristoffer Haugsbakk @ 2023-10-12 7:43 UTC (permalink / raw)
To: Benson Muite; +Cc: Dorcas Litunya, git
On Thu, Oct 12, 2023, at 09:28, Benson Muite wrote:
> You maybe able to get these from a package manager, for example on Ubuntu
> sudo apt-get install curl-dev
This didn't work for me on Ubuntu 22.04. I tried the OpenSSL variant which
worked.
sudo apt-get install libcurl4-openssl-dev
Now I can drop `NO_CURL=true`.
Thanks :)
--
Kristoffer Haugsbakk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Outreachy]Introduction and Problem while installing Git
2023-10-12 7:43 ` Kristoffer Haugsbakk
@ 2023-10-12 7:52 ` Dorcas Litunya
0 siblings, 0 replies; 6+ messages in thread
From: Dorcas Litunya @ 2023-10-12 7:52 UTC (permalink / raw)
To: Kristoffer Haugsbakk; +Cc: benson_muite, git
On Thu, Oct 12, 2023 at 09:43:55AM +0200, Kristoffer Haugsbakk wrote:
> On Thu, Oct 12, 2023, at 09:28, Benson Muite wrote:
> > You maybe able to get these from a package manager, for example on Ubuntu
> > sudo apt-get install curl-dev
>
> This didn't work for me on Ubuntu 22.04. I tried the OpenSSL variant which
> worked.
>
Me too
> sudo apt-get install libcurl4-openssl-dev
>
This package has worked for me on Ubuntu 22.04
Thanks for the help!
> Now I can drop `NO_CURL=true`.
>
> Thanks :)
>
> --
> Kristoffer Haugsbakk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Outreachy]Introduction and Problem while installing Git
2023-10-12 7:28 ` Benson Muite
2023-10-12 7:43 ` Kristoffer Haugsbakk
@ 2023-10-12 16:20 ` Junio C Hamano
2023-10-12 17:13 ` Dorcas Litunya
1 sibling, 1 reply; 6+ messages in thread
From: Junio C Hamano @ 2023-10-12 16:20 UTC (permalink / raw)
To: Benson Muite; +Cc: Dorcas Litunya, git
Benson Muite <benson_muite@emailplus.org> writes:
> On 10/12/23 09:57, Dorcas Litunya wrote:
>> Hello everyone,
>> My name is Dorcas Litunya. I am excited to contribute to the git
>> community, I am a first time contributor through the Outreachy program.
>> I am excited to learn and grow through this project. I am currently
>> installing Git and I have been faced with this error once I run the make
>> command:
>> In file included from http.c:2:
>> git-curl-compat.h:3:10: fatal error: curl/curl.h: No such file or directory
>> 3 | #include <curl/curl.h>
>> | ^~~~~~~~~~~~~
> You will need to have curl libraries and development headers.
> https://curl.se/libcurl/
> You maybe able to get these from a package manager, for example on Ubuntu
> sudo apt-get install curl-dev
> Fedora
> sudo dnf install libcurl-devel
Thanks for helping. Perhaps reading the INSTALL file at the top of
the working tree would worth the time?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Outreachy]Introduction and Problem while installing Git
2023-10-12 16:20 ` Junio C Hamano
@ 2023-10-12 17:13 ` Dorcas Litunya
0 siblings, 0 replies; 6+ messages in thread
From: Dorcas Litunya @ 2023-10-12 17:13 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On Thu, Oct 12, 2023 at 09:20:14AM -0700, Junio C Hamano wrote:
> Benson Muite <benson_muite@emailplus.org> writes:
>
> > On 10/12/23 09:57, Dorcas Litunya wrote:
> >> Hello everyone,
> >> My name is Dorcas Litunya. I am excited to contribute to the git
> >> community, I am a first time contributor through the Outreachy program.
> >> I am excited to learn and grow through this project. I am currently
> >> installing Git and I have been faced with this error once I run the make
> >> command:
> >> In file included from http.c:2:
> >> git-curl-compat.h:3:10: fatal error: curl/curl.h: No such file or directory
> >> 3 | #include <curl/curl.h>
> >> | ^~~~~~~~~~~~~
> > You will need to have curl libraries and development headers.
> > https://curl.se/libcurl/
> > You maybe able to get these from a package manager, for example on Ubuntu
> > sudo apt-get install curl-dev
> > Fedora
> > sudo dnf install libcurl-devel
>
> Thanks for helping. Perhaps reading the INSTALL file at the top of
> the working tree would worth the time?
Thanks Junio. I did follow it eventually. I got stuck here since the
instructions to install some libraries was at the towards the middle and
end of the INSTALL file while the
instruction to run the make command was at the top of the file, and it
seemed a bit easy as the file had just said "it should work
normally"(without pointing out the libraries needed) was what kinda got
me lost, but I eventually found my solutions as I read through the doc. But yes,I will now try to read and search entire docs as all the good stuff might be at the bottom.
:-)
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-10-12 17:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-12 6:57 [Outreachy]Introduction and Problem while installing Git Dorcas Litunya
2023-10-12 7:28 ` Benson Muite
2023-10-12 7:43 ` Kristoffer Haugsbakk
2023-10-12 7:52 ` Dorcas Litunya
2023-10-12 16:20 ` Junio C Hamano
2023-10-12 17:13 ` Dorcas Litunya
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.