我的Mac OSX 10.7.5上有git 1.8.2,我想升級到最新版本。我在終端中輸入以下命令:錯誤試圖升級git
git clone git://github.com/gitster/git.git cd git sudo make prefix=/usr install install-doc install-html install-info
當我跑了SUDE化妝...命令,終端告訴我它找不到make命令,讓我去的Xcode>首選項>下載和安裝命令線工具。然後,終端能夠找到make命令,但我得到這個錯誤,當我重新嘗試了最後它:
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [git-credential-store] Error 1
誰能告訴我如何擺脫這種錯誤的,所以我可以升級飯桶。