Sourcetree update SVN hint can ' t locate svn/core.pm

Source: Internet
Author: User
Tags sourcetree

Installed Sourcetree has not how to use, today try to use, incredibly error can ' t locate svn/core.pm

The detailed error is as follows:

Can'T Locate svn/core.pm in @INC (if you are 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 Line5. BEGIN failed--compilation aborted at/applications/sourcetree.app/contents/resources/git_local/lib/perl5/site_perl/git/svn/ EDITOR.PM Line5. Compilation failedinchRequire AT/APPLICATIONS/SOURCETREE.APP/CONTENTS/RESOURCES/GIT_LOCAL/LIBEXEC/GIT-CORE/GIT-SVN lineBayi. BEGIN failed--compilation aborted AT/APPLICATIONS/SOURCETREE.APP/CONTENTS/RESOURCES/GIT_LOCAL/LIBEXEC/GIT-CORE/GIT-SVN LineBayi. Completed with errors, see above

Find a solution online

sudo ln-s/applications/xcode.app/contents/developer/library/perl/5.18/darwin-thread-multi-2level/svn/ system/library/perl/extras/5.18/-s/applications/xcode.app/contents/developer/library/perl/ 5.18/darwin-thread-multi-2level/auto/svn//system/library/perl/extras/5.18/auto/svn

But running the discovery prompt error

ln:/system/library/perl/extras/5.18/svn:operation not permitted

Finally in a foreign friends to share the solution found

sudo ln-s/applications/xcode.app/contents/developer/library/perl/5.18/darwin-thread-multi-2level/svn// library/perl/5.18//library/perl/5.18/-s/applications/xcode.app/contents/ developer/library/perl/5.18/darwin-thread-multi-2level/auto/svn//library/perl/5.18/auto/svn

It works perfectly.

Sourcetree update SVN hint can ' t locate svn/core.pm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.