SourceTree提示Can’t locate SVN/Core.pm in @INC

一个老旧的问题,最近换了机器重新遇到,搬运一下。。
from:https://paulschreiber.com/blog/2015/11/09/fixing-git-svn-on-os-x-el-capitan/

由于El Capitan新增的System Integrity Protection,所以之后的系统都会遇到SourceTree提示Can’t locate SVN/Core.pm in @INC,处理方式为:


sudo mkdir /Library/Perl/5.18/auto
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN /Library/Perl/5.18/darwin-thread-multi-2level
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN /Library/Perl/5.18/auto/

Leave a Reply

Your email address will not be published. Required fields are marked *