[Git] “Unable to find remote helper for ‘https'” Problem
前陣子我的 Git 出了點問題,使用 git log 時,畫面上都是些沒有 color 的字串,而且還會包含色彩碼,一時間找不到發生原因,索性就順便更新 Git 到新版本。
從官網上看到的版本是 1.7.9,直接下載 Source Code 來編譯,編譯程序就是照一般的流程,如下,
$ git-1.7.9> ./configure
$ git-1.7.9> make
$ git-1.7.9> sudo make install
但安裝完後,發現在下載 AOSP 的 Source Code 時,會出現如下的訊息,
“Unable to find remote helper for ‘https'”
經過搜尋後,發現問題應該出在 openssl 及 curl 安裝套件有問題,應該是因為我沒有安裝 他們的他們的 development 套件,所以也順便看一下 Git 有沒有什麼相依性套件需要先安裝,從 Git Community Book – Installing Git 可以看到,
You will need the expat, curl, zlib, and openssl libraries installed – though with the possible exception of expat, these will normally already be there.
確認套件都有安裝後,重新編譯並安裝 Git,就可以下載 AOSP 的 Source Code 了。
發佈留言
很抱歉,必須登入網站才能發佈留言。