threads / discuss / 23785

fatal: Unable to find remote helper for 'http'

Subject: fatal: Unable to find remote helper for 'http'

## tl;dr

4 messages between May 12, 2010 and May 12, 2010.

replies: 3people: 2as markdown or json

Laflen, Brandon (GE, Research)· May 12, 2010, 15:08 UTC · lore

I recently compiled git on a red-hat linux system. There were not compile errors. But, when I try to use git to clone a repository, I receive the following error:

	fatal: Unable to find remote helper for 'http'

I am behind a firewall and cannot use the "git" protocol. I have exhaustively tried variations of the http_proxy environmental variable, without any visible difference. As far as I am aware, there is no other information to help me debug this problem. Can someone please help me?

Thank you!
Jeff King· May 12, 2010, 16:47 UTC · re: Laflen, Brandon (GE, Research) · lore

Re: fatal: Unable to find remote helper for 'http'

On Wed, May 12, 2010 at 11:08:27AM -0400, Laflen, Brandon (GE, Research) wrote:
Show 5 quoted lines
> I recently compiled git on a red-hat linux system.  There were not compile
> errors.  But, when I try to use git to clone a repository, I receive the
> following error:
> 
> 	fatal: Unable to find remote helper for 'http'

Did you build git with http support? You need to have curl installed for it. If you built with the straight Makefile, you would have had to specify NO_CURL manually. If you used the "configure" script, though, it probably would have noticed that you didn't have curl installed and switched it off.

-Peff
Laflen, Brandon (GE, Research)· May 12, 2010, 20:24 UTC · re: Jeff King · lore

RE: fatal: Unable to find remote helper for 'http'

Thank you for your responses. I downloaded, make'd, and installed the most recent versions of curl and expat as part of this process. I used the following commands to make and install git:

./configure --prefix=<git_install_path> --with-curl=<curl_install_path> --with-expat=<expat_install_path> make all make install

Thank you
-----Original Message-----
From: Jeff King [mailto:peff@peff.net] 
Sent: Wednesday, May 12, 2010 12:48 PM
To: Laflen, Brandon (GE, Research)
Cc: git@vger.kernel.org
Subject: Re: fatal: Unable to find remote helper for 'http'

On Wed, May 12, 2010 at 11:08:27AM -0400, Laflen, Brandon (GE, Research) wrote:

Show 5 quoted lines
> I recently compiled git on a red-hat linux system.  There were not 
> compile errors.  But, when I try to use git to clone a repository, I 
> receive the following error:
> 
> 	fatal: Unable to find remote helper for 'http'

Did you build git with http support? You need to have curl installed for it. If you built with the straight Makefile, you would have had to specify NO_CURL manually. If you used the "configure" script, though, it probably would have noticed that you didn't have curl installed and switched it off.

-Peff
Laflen, Brandon (GE, Research)· May 12, 2010, 20:53 UTC · re: Jeff King · lore

RE: fatal: Unable to find remote helper for 'http'

My problem is solved.  I did the following:
Started in a new directory.  Then ran the following commands

make prefix=<git_install_path> CURLDIR=<curl_install_path> NO_R_TO_GCC_LINKER=YesPlease EXPATDIR=<expat_install_path> all

make prefix=<git_install_path> CURLDIR=<curl_install_path> NO_R_TO_GCC_LINKER=YesPlease EXPATDIR=<expat_install_path> install

There are three differences:
1) The NO_R_TO_GCC_LINKER directive
2) Bypassed the configure script altogether
3) Included the path directives for curl and expat in both "make all" and
"make install" steps
Not sure which were necessary.
Cheers.
-----Original Message-----
From: Laflen, Brandon (GE, Research) 
Sent: Wednesday, May 12, 2010 4:25 PM
To: 'Jeff King'
Cc: git@vger.kernel.org
Subject: RE: fatal: Unable to find remote helper for 'http'

Thank you for your responses. I downloaded, make'd, and installed the most recent versions of curl and expat as part of this process. I used the following commands to make and install git:

./configure --prefix=<git_install_path> --with-curl=<curl_install_path> --with-expat=<expat_install_path> make all make install

Thank you
-----Original Message-----
From: Jeff King [mailto:peff@peff.net]
Sent: Wednesday, May 12, 2010 12:48 PM
To: Laflen, Brandon (GE, Research)
Cc: git@vger.kernel.org
Subject: Re: fatal: Unable to find remote helper for 'http'

On Wed, May 12, 2010 at 11:08:27AM -0400, Laflen, Brandon (GE, Research) wrote:

Show 5 quoted lines
> I recently compiled git on a red-hat linux system.  There were not 
> compile errors.  But, when I try to use git to clone a repository, I 
> receive the following error:
> 
> 	fatal: Unable to find remote helper for 'http'

Did you build git with http support? You need to have curl installed for it. If you built with the straight Makefile, you would have had to specify NO_CURL manually. If you used the "configure" script, though, it probably would have noticed that you didn't have curl installed and switched it off.

-Peff

← back to recent threads