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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
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@xxxxxxxx]
Sent: Wednesday, May 12, 2010 12:48 PM
To: Laflen, Brandon (GE, Research)
Cc: git@xxxxxxxxxxxxxxx
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:

> 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

<<attachment: smime.p7s>>


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]