svn 遷移到 git 的問題
終端輸入 git svn ...
時,如下報錯:
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/5.18.2/darwin-thread-multi-2level /usr/local/git/lib/perl5/site_perl/5.18.2 /usr/local/git/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 /usr/local/git/lib/perl5/site_perl/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/local/git/lib/perl5/site_perl/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/local/git/lib/perl5/site_perl/Git/SVN.pm line 25.
BEGIN failed--compilation aborted at /usr/local/git/lib/perl5/site_perl/Git/SVN.pm line 32.
Compilation failed in require at /usr/local/git/libexec/git-core/git-svn line 21.
BEGIN failed--compilation aborted at /usr/local/git/libexec/git-core/git-svn line 21.
解決方案:
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
相關文章
- svn 遷移到gitGit
- 功能分支是邪惡的:從SVN遷移到Git經驗Git
- JavaScript 專案遷移到 TypeScript 步驟以及遇到的問題JavaScriptTypeScript
- 如何從SVN遷移原始碼到Git倉庫原始碼Git
- svn圖示問題
- 【GitHub】建立Git分支將Hexo部落格遷移到其它電腦GithubHexo
- 【遷移】SqlServer 遷移到 MySQL 方法ServerMySql
- 一招解決遷移到ModStart後連結不相容問題
- Git和SVN的對比Git
- git和SVN的區別?Git
- svn和git的區別Git
- WSL遷移到其他磁碟
- 【Git】問題Git
- 從 Nginx 遷移到 Envoy ProxyNginx
- 從 golang flag 遷移到 cmdrGolang
- 將nodejs遷移到D盤NodeJS
- Python 決定遷移到 GitHubPythonGithub
- 如何將 CentOS遷移到 AlmaLinux?CentOSLinux
- centos遷移到rocky linux方法CentOSLinux
- uniapp小程式遷移到TSAPP
- [git] git問題處理Git
- git與svn的區別面試Git面試
- 02 SVN 與 Git 的優缺點Git
- Git clone 的小問題Git
- 使用git遇到的問題Git
- 【譯】遷移到Room的7個步驟OOM
- Git 奇葩問題Git
- 5. ActiveMQ平滑遷移到kafkaMQKafka
- LiveData 遷移到 Kotlin Flow詳解LiveDataKotlin
- 使用DynamoShake從dynamodb遷移到mongodbMongoDB
- 從mpvue遷移到uni-appVueAPP
- [譯]從 SQLite 逐步遷移到 RoomSQLiteOOM
- MySQL資料庫遷移到PostgresMySql資料庫
- [譯] 從 SQLite 逐步遷移到 RoomSQLiteOOM
- EF Core從TPH遷移到TPT
- svn相關問題解決辦法
- github倉庫遷移到gitlab以及gitlab倉庫遷移到另一個gitlab伺服器GithubGitlab伺服器
- IDEA Spring Boot 專案內既有SVN 也有Git時,無法更新程式碼問題解決IdeaSpring BootGit
- 從過時的 Windows 機器遷移到 LinuxWindowsLinux