git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
LRLaflen, Brandon (GE, Research) <laflenb@ge.com>
Date
May 12, 2010, 20:53 UTC
Message-ID
<811C439C44639E429301EB1083399FA302F18CC6@CINMLVEM12.e2k.ad.ge.com>
In-Reply-To
<20100512164755.GB14710@coredump.intra.peff.net>
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
Previous: Laflen, Brandon (GE, Research)
Message 4 of 4 in “fatal: Unable to find remote helper for 'http'”
  1. Laflen, Brandon (GE, Research)May 12, 2010
  2. Jeff KingMay 12, 2010
  3. Laflen, Brandon (GE, Research)May 12, 2010
  4. Laflen, Brandon (GE, Research)May 12, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.