fatal: Unable to find remote helper for 'http'

Previous thread: [PATCH] Reorganize `git-log' man page to clarify common diff options. by Eli Barzilay on Wednesday, May 12, 2010 - 7:12 am. (1 message)

Next thread: serious performance issues with images, audio files, and other "non-code" data by John on Wednesday, May 12, 2010 - 11:53 am. (28 messages)
From: Laflen, Brandon (GE, Research)
Date: Wednesday, May 12, 2010 - 8:08 am

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!

From: Jeff King
Date: Wednesday, May 12, 2010 - 9:47 am

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
--

From: Laflen, Brandon (GE, Research)
Date: Wednesday, May 12, 2010 - 1:24 pm

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)

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
From: Laflen, Brandon (GE, Research)
Date: Wednesday, May 12, 2010 - 1:53 pm

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)

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 thread: [PATCH] Reorganize `git-log' man page to clarify common diff options. by Eli Barzilay on Wednesday, May 12, 2010 - 7:12 am. (1 message)

Next thread: serious performance issues with images, audio files, and other "non-code" data by John on Wednesday, May 12, 2010 - 11:53 am. (28 messages)