I use git to connect to WordPress’ subversion repository to maintain a plugin. I am using git-svn which includes connectors between the two systems. Upon upgrading to Mavericks, git svn
stopped working.
Wether you use git-svn form the command line or using git tower the error is as follows:
Can’t locate SVN/Core.pm in @INC (@INC contains: /usr/local/git/lib/perl5/site_perl /Applications/Tower.app/Contents/Resources/git/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/Tower.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Utils.pm line 6.
BEGIN failed–compilation aborted at /Applications/Tower.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Utils.pm line 6.
Compilation failed in require at /Applications/Tower.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN.pm line 26.
BEGIN failed–compilation aborted at /Applications/Tower.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN.pm line 33.
Compilation failed in require at /Applications/Tower.app/Contents/Resources/git/libexec/git-core/git-svn line 25.
BEGIN failed–compilation aborted at /Applications/Tower.app/Contents/Resources/git/libexec/git-core/git-svn line 25.
I found the fix here that is basically adding missing links of the Subversion Perl directories necessary for git-svn to run correctly:
$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.16/darwin-thread-multi-2level/SVN /System/Library/Perl/Extras/5.16/SVN
$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.16/darwin-thread-multi-2level/auto/SVN/ /System/Library/Perl/Extras/5.16/auto/SVN