From Boldcore's wiki
Jump to: navigation, search

Compile git with https support

After installing git from source code, I encountered with the following error when trying to clone (or whatever) repository from https.

fatal: Unable to find remote helper for 'https'

Root cause of this issue is, that by default git is not compiled with openssl support.

Of course, first You need to have gcc, openssl-devel, autoconf, etc... But let's get to the point.


I found the solution here:

yum install expat expat-devel openssl openssl-devel gcc autoconf
yum remove git

wget (check for the latest version first !!)
tar xvf v2.16.2.tar.gz
cd v2.16.2
./configure --with-expat --with-openssl --prefix=/usr/local
make install