2011-08-17 44 views
-1

通過自制編制的Git有問題錯誤通過家釀編制的Git

錯誤:無法執行:讓前綴=在/ usr /本地/庫/混帳/ 1.7.6安裝

我已經刪除並重新安裝家釀也重新安裝的Xcode 3.2.6

系統: 的Mac OS X 10.6.8

任何想法是怎麼回事?

更新:

下面是錯誤跟蹤的尾部。不知道在哪裏看。希望這可以幫助。

referenced from : 
" _libiconv",  referenced _reencode_stringfrom: 
_reencode_stringin libgit.a(inutf8.o)libgit.a 
(utf8.o)" 
_libiconv_close " ," _libiconv_close", referencedreferenced from _reencode_string infrom: 
    : 
    libgit.a_reencode_string( in utf8.o libgit.a_reencode_string(utf8.oin) 
libgit.a()utf8.o) 
    " _libiconv_close " , 
    referenced _reencode_string from:in 
    libgit.a(_reencode_string utf8.o) 
ld in : _reencode_string symbol(s) not found 
in libgit.a(utf8.o) 
ld: symbol(slibgit.a) not(utf8.o) 
found 
    _reencode_string in libgit.a(utf8.o) 
ld: symbol(s) not found 
collect2: collect2: Undefinedld returned 1 exit status 
symbols: 
    "ld returned 1 exit status_libiconv_open" 
, referenced from: 
     _reencode_string in libgit.a(utf8.o) 
    "_libiconvcollect2: ", referencedld returned 1 exit status 
from: 
     _reencode_string in libgit.a(utf8.o) 
    "_libiconv_close", referenced from: 
     _reencode_string in libgit.a(utf8.o) 
     _reencode_string in libgit.a(utf8.o) 

ld: symbol(s) not found 
collect2: ld returned 1 exit status 
make: *** [git-daemon] Error 1 
make: *** Waiting for unfinished jobs.... 
make: *** [git-fast-import] Error 1 
make: *** [git-imap-send] Error 1 
make: *** [git-shell] Error 1 
==> Exit Status: 2 
http://github.com/mxcl/homebrew/blob/master/Library/Formula/git.rb#L37 
==> Environment 
HOMEBREW_VERSION: 0.8 
HEAD: 63da621a3fb430cb9ae757a09077890be8aa689e 
HOMEBREW_PREFIX: /usr/local 
HOMEBREW_CELLAR: /usr/local/Cellar 
HOMEBREW_REPOSITORY: /usr/local 
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew 
Hardware: quad-core 64-bit arrandale 
OS X: 10.6.8 
Kernel Architecture: i386 
Ruby: 1.8.7-174 
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby 
Xcode: 3.2.6 
GCC-4.0: build 5494 
GCC-4.2: build 5666 
LLVM: build 2335 
MacPorts or Fink? false 
X11 installed? true 
==> Build Flags 
CC: /usr/bin/cc => /usr/bin/gcc-4.2 
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 
LD: /usr/bin/cc => /usr/bin/gcc-4.2 
CFLAGS: -O3 -w -pipe 
CXXFLAGS: -O3 -w -pipe 
MAKEFLAGS: -j4 

不知道是否這是值得注意的,但跟蹤顯示紅寶石1.8 而ruby -v給人以紅寶石1.9.2p180

好吧,我已經更新了錯誤跟蹤。

+0

不知道你什麼張貼。請顯示更多的錯誤信息。 – Mat

+0

在錯誤日誌中,它通常是第一個重要的錯誤,而不是日誌的結尾 – Mark

回答

0

ld: symbol(s) not found會在您沒有安裝所需的庫依賴項時出現,或者出於某種原因,它的包含或對象文件的缺失。不知道什麼符號沒有找到,這是不可能進一步幫助。你只是在錯誤信息的很好的部分切斷。這就像獲得了一份神祕小說的最後一章,並發現它剝去了:-)