git clone fails with fatal: Unable to find remote helper for 'https'

kinow @ Jan 17, 2013 14:49:50 ()

I’ve been working in a client site without Internet connection, and behind a troll proxy. There is an internal yum repository, but many dependencies are missing.

There weren’t git-all, git or git-core packages there, so I had to download and install from sources. I didn’t pay attention to the ./configure output and proceeded with make and make install.

Git was installed and ready to rock, but in my first git clone https:// (SSH ports are blocked) I received: fatal: Unable to find remote helper for ‘https’.

Turns out that I was missing libcurl-devel, though I did have curl. After installing libcurl-devel and installing from sources again all worked fine.