|
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! |
|
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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [hidden email] More majordomo info at http://vger.kernel.org/majordomo-info.html |
|
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:[hidden email]] Sent: Wednesday, May 12, 2010 12:48 PM To: Laflen, Brandon (GE, Research) Cc: [hidden email] 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 |
|
In reply to this post by Jeff King
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: [hidden email] 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:[hidden email]] Sent: Wednesday, May 12, 2010 12:48 PM To: Laflen, Brandon (GE, Research) Cc: [hidden email] 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 |
| Powered by Nabble | Edit this page |
