# Unable to make git with https support

5 messages from 2012-03-07 to 2012-03-08. Participants: Nate Parsons, Thomas Rast, Junio C Hamano.
Thread: https://gitlist.dev/t/29872

## Nate Parsons, 2012-03-07 19:52

Subject: Unable to make git with https support
Message-ID: <CADjGbJq_HL--_CAuE_Yj3B0srx=WDficot8bgadvW92zz9PJdg@mail.gmail.com>
URL: https://gitlist.dev/e/CADjGbJq_HL--_CAuE_Yj3B0srx%3DWDficot8bgadvW92zz9PJdg%40mail.gmail.com

```
I'm trying to make git for myself, but can't seem to get https
working. This is what I did to make it:

> wget http://git-core.googlecode.com/files/git-1.7.9.3.tar.gz
> tar -xf git-1.7.9.3.tar.gz
> cd git-1.7.9.3.tar.gz
> ./configure --with-curl --prefix=$HOME
> make
> make install

In a new shell

> git clone https://github.com/git/git.git
Cloning into 'git'...
fatal: Unable to find remote helper for 'https'

But my machine does have curl, and that curl can access https urls

> which curl
/usr/bin/curl
> curl --version
curl 7.19.0 (x86_64-suse-linux-gnu) libcurl/7.19.0 OpenSSL/0.9.8h
zlib/1.2.3 libidn/1.10
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
> curl https://github.com/git/git.git
<GitHub 404 page, no https error message>

Thanks, Nate

```

## Thomas Rast, 2012-03-07 19:57

Subject: Re: Unable to make git with https support
Message-ID: <87pqcotc9w.fsf@thomas.inf.ethz.ch>
URL: https://gitlist.dev/e/87pqcotc9w.fsf%40thomas.inf.ethz.ch
In-Reply-To: <CADjGbJq_HL--_CAuE_Yj3B0srx=WDficot8bgadvW92zz9PJdg@mail.gmail.com>

```
Nate Parsons <parsons.nate@gmail.com> writes:

>> ./configure --with-curl --prefix=$HOME

What does it say when configuring libcurl?  Are there any errors?  What
if you use the Makefile directly (it's our main build method)?

> But my machine does have curl, and that curl can access https urls

Have you also installed libcurl-devel (or whatever the package might be
called, but it seems you are also using opensuse)?

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

```

## Junio C Hamano, 2012-03-07 20:05

Subject: Re: Unable to make git with https support
Message-ID: <7vk42wmb2n.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vk42wmb2n.fsf%40alter.siamese.dyndns.org
In-Reply-To: <CADjGbJq_HL--_CAuE_Yj3B0srx=WDficot8bgadvW92zz9PJdg@mail.gmail.com>

```
Nate Parsons <parsons.nate@gmail.com> writes:

> I'm trying to make git for myself, but can't seem to get https
> working. This is what I did to make it:
>
>> wget http://git-core.googlecode.com/files/git-1.7.9.3.tar.gz
>> tar -xf git-1.7.9.3.tar.gz
>> cd git-1.7.9.3.tar.gz
>> ./configure --with-curl --prefix=$HOME
>> make
>> make install

I wonder if omitting the whole "configure" thing (remove
config.mak.autogen) and doing

    $ make
    $ make install

may work for you better?

```

## Nate Parsons, 2012-03-07 22:30

Subject: Re: Unable to make git with https support
Message-ID: <CADjGbJpL69BTpOHyToqYmSWSBYA--6fSGB4CZyBXvdA9Zy4NvQ@mail.gmail.com>
URL: https://gitlist.dev/e/CADjGbJpL69BTpOHyToqYmSWSBYA--6fSGB4CZyBXvdA9Zy4NvQ%40mail.gmail.com
In-Reply-To: <87pqcotc9w.fsf@thomas.inf.ethz.ch>

```
On Wed, Mar 7, 2012 at 2:57 PM, Thomas Rast <trast@inf.ethz.ch> wrote:
> Have you also installed libcurl-devel (or whatever the package might be
> called, but it seems you are also using opensuse)?

This is the problem, thanks. I only have curl and libcurl4 installed,
and I was hoping to not install any new packages. So I downloaded curl
and openssl and tried to make those. I was able to build openssl, but
I was not able to build curl off of that (skipping curl's ./configure
step doesn't seem like an option).

This isn't curl's mailing list, so if you don't want to help me make
curl, I understand (and have a workaround that might end up being a
better solution for what I'm trying to do anyways)

```

## Thomas Rast, 2012-03-08 08:19

Subject: Re: Unable to make git with https support
Message-ID: <87eht3tsht.fsf@thomas.inf.ethz.ch>
URL: https://gitlist.dev/e/87eht3tsht.fsf%40thomas.inf.ethz.ch
In-Reply-To: <CADjGbJpL69BTpOHyToqYmSWSBYA--6fSGB4CZyBXvdA9Zy4NvQ@mail.gmail.com>

```
Nate Parsons <parsons.nate@gmail.com> writes:

> On Wed, Mar 7, 2012 at 2:57 PM, Thomas Rast <trast@inf.ethz.ch> wrote:
>> Have you also installed libcurl-devel (or whatever the package might be
>> called, but it seems you are also using opensuse)?
>
> This is the problem, thanks. I only have curl and libcurl4 installed,
> and I was hoping to not install any new packages.

Which is to say, you either have a totally crazy aversion against
installing (headers-only, no less) packages, or you have a hidden reason
why you don't want to do that and you're not telling us.

Meh.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

```
