sourcetree更新svn提示can't locate SVN/Core.pm
来源:互联网 发布:ubuntu 22端口被拒绝 编辑:程序博客网 时间:2024/06/05 20:05
装了sourceTree一直没有怎么用,今天试着用用,居然报错 can't locate SVN/Core.pm
详细报错如下:
Can't locate SVN/Core.pm in @INC (you may need to install theSVN::Core module) (@INC contains:
/usr/local/git/lib/perl5/site_perl/Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18/Network/Library/Perl/5.18/darwin-thread-multi-2level/Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/System/Library/Perl/Extras/5.18 .) at/Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pmline 5.
BEGIN failed--compilation aborted at/Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pmline 5.
Compilation failed in require at/Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svnline 81.
BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svnline 81.
Completed with errors, see above
网上找到解决办法
sudo ln -s/Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN/System/Library/Perl/Extras/5.18/SVN
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN//System/Library/Perl/Extras/5.18/auto/SVN
但是运行发现提示错误
ln: /System/Library/Perl/Extras/5.18/SVN: Operation not permitted
最后在一个国外的网友分享下找到了解决办法
sudo ln -s/Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN//Library/Perl/5.18/SVN
sudo mkdir /Library/Perl/5.18/auto
sudo ln -s/Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN//Library/Perl/5.18/auto/SVN
完美运行了
- sourcetree更新svn提示can't locate SVN/Core.pm
- git svn 错误 Can't locate SVN/Core.pm 的解决方案
- Can't locate LibXML.pm
- Can't locate LWP/UserAgent.pm
- Can't locate Switch.pm in @INC
- Can't locate Tk.pm
- Can't locate CPAN.pm in @INC
- Can't locate CompEMdbconsole.pm in @INC
- Can't locate ExtUtils/MakeMaker.pm
- Can't locate Net/HandlerSocket.pm
- Can't locate Time/HiRes.pm
- Can't locate Switch.pm in @INC
- Can't locate ExtUtils/MakeMaker.pm
- Can't locate Switch.pm in @INC
- Can’t locate extUtils/makemaker.pm
- Can't locate ExtUtils/MakeMaker.pm
- Can't locate Config/IniFiles.pm
- SVN更新被Locked,Can't open file 'folder/.svn/tmp/text-base/file.svn-base'
- JAVA运行war包时,用户登录返回中文乱码
- linux求两个文件的交集,并集,差集
- Jedis returnResource使用注意事项
- 字符设备驱动(四)-led实例
- jquery attr()方法
- sourcetree更新svn提示can't locate SVN/Core.pm
- floyd算法和动态规划的关系
- Linux系统服务器上安装Apache
- 链表中倒数第k个结点
- 隐马尔模型----五:python实现
- 使用eclipse工具搭建一个简单的Spring boot。
- Qt信号和槽的两种类型
- 使用openssl库实现RSA、AES数据加密
- github怎么使用