ln: /System/Library/Perl/Extras/5.18/SVN: Operation not permitted
2017-05-24 10:33
1526 查看
git svn lone 中遇到的
错误问题:
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::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.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
原来网上找到的解决办法
但是运行发现提示错误
解决办法如下操作:
错误问题:
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::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.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
原来网上找到的解决办法
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
相关文章推荐
- OSError: [Errno 1] Operation not permitted: '/tmp/pip-g3bg0s-uninstall/System/Library/Frameworks/Pyt
- iOS中解决Can’t move ‘.svn/tmp/entries’ to ‘.svn/entries’: Operation not permitted
- 解决docker执行systemctl start 报错Failed to get D-Bus connection: Operation not permitted
- nit_module 'system/sps/xx/ko/a.ko' failed (Operation not permitted)
- docker centos 使用 systemctl Failed to get D-Bus connection: Operation not permitted
- svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted
- Docker Container Centos7 systemctl 提示 Failed to get D-Bus connection: Operation not permitted
- svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted
- ln: operation not permitted
- 10.11,Library not loaded: libmysqlclient.18.dylib,Operation not permitted
- “OSError: [Errno 1] Operation not permitted” when installing Scrapy in OSX 10.11 (El Capitan) (System Integrity Protection)
- Mac OS 10.12 - ”ln: /usr/bin/tclsh: Operation not permitted“错误的解决方法!!
- could not disable core file generation for pid 18102: Operation not permitted
- TortoiseSVN访问VisualSVN Server:Could not open the requested SVN filesystem。解决方法!!
- 编译内核出现ln: creating symbolic link `include/asm' to `asm-arm': Operation not supported
- react native初学之路--报 operation not permitted错误
- MacOS中创建Sublime Text3快捷方式返回Operation not permitted的原因及解决
- SVN的Not authorized to open root of edit operation解决办法
- svn报错:“Previous operation has not finished; run 'cleanup' if it was interrupted“ 的解决办法
- 解决 mac OSX pip OSError: [Errno 1] Operation not permitted