2013-12-09 107 views
1

我遇到了一些與git-svn有關的嚴重問題。直到我沒有更新到Mac OS X小牛,這一切工作的罰款(源樹和git svn的命令行),但現在有以下錯誤,而我試圖檢出svn庫:Git-svn在Mac OS X上破解小牛

在命令行:

dyld: lazy symbol binding failed: Symbol not found: _Perl_Gthr_key_ptr 
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/../Library/Perl/5.12/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle 
Expected in: flat namespace 

dyld: Symbol not found: _Perl_Gthr_key_ptr 
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/../Library/Perl/5.12/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle 
Expected in: flat namespace 

error: git-svn died of signal 5 

http://undefinedvalue.com/2013/08/21/solving-symbol-not-found-perlgthrkeyptr-when-running-git-svn-certain-unnamed-operating-sy 

當嘗試使用Sourcetree籤:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn clone SVN_PATH /Users/myusername/XCodeWorkspace/NewFolder 
Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/git/lib/perl5/site_perl  /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl  /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5. 
BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5. 
Compilation failed in require at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81. 
BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81. 
Completed with errors, see above 

有沒有人遇到這個問題,並設法解決它?我嘗試了以下解決方案: http://undefinedvalue.com/2013/08/21/solving-symbol-not-found-perlgthrkeyptr-when-running-git-svn-certain-unnamed-operating-sy 但它沒有解決問題。

P.S.我有2個XCodes安裝。 /Application/XCode.app和/ Application/XCode5以及在命令行中,我選擇了Xcode 4.6.3的第一個路徑(使用xcode-select)。

回答

-3

我剛剛收到了同樣的事情。在我的情況下,我從Lion更新到Mavericks。

我實際上並不需要的Xcode(只是命令行工具......其實我建立我自己的編譯器等),所以我就這樣做:

須藤室射頻/應用/ XCode中。應用

問題解決了......

我不知道如果這是你一個可行的修復或沒有,但...

+1

這當然不是解決方案。 – Anand

0

我有同樣的問題。當我將Xcode版本升級到5.0.2時,它得到了解決。