From Boldcore's wiki
Jump to: navigation, search
(Created page with "=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. <pre>...")
 
Line 9: Line 9:
 
==Command==
 
==Command==
 
I found the solution here:
 
I found the solution here:
http://kamituel.tumblr.com/post/40678251617/fix-for-git-error-fatal-unable-to-find-remote
+
http://kamituel.tumblr.com/post/40678251617/fix-for-git-error-fatal-unable-to-find-remote <br>
 
https://gist.github.com/kamituel/4542056
 
https://gist.github.com/kamituel/4542056
  

Revision as of 08:05, 2 March 2018

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.

Command

I found the solution here: http://kamituel.tumblr.com/post/40678251617/fix-for-git-error-fatal-unable-to-find-remote
https://gist.github.com/kamituel/4542056

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

wget https://github.com/git/git/archive/v2.16.2.tar.gz (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
make install