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遷移到gitGit
- 功能分支是邪惡的:從SVN遷移到Git經驗Git
- 從Perforce遷移到GitGit
- Oracle遷移到PPAS(PostgreSQL)時的日期計算問題OracleSQL
- 解決svn遷移過程中出現:SVN Error: is not the same repository as的問題Error
- Window遷移到Linux下Tomcat配置問題LinuxTomcat
- JavaScript 專案遷移到 TypeScript 步驟以及遇到的問題JavaScriptTypeScript
- iOS swift2.3 遷移到3.0 遇到的一些問題iOSSwift
- 如何從SVN遷移原始碼到Git倉庫原始碼Git
- 從websphere6.1遷移到weblogic10.3的問題總結Web
- 遷移到ASMASM
- 【GitHub】建立Git分支將Hexo部落格遷移到其它電腦GithubHexo
- 事務型系統由SQL遷移到NoSQL問題總結(轉)SQL
- Git vs SVNGit
- svn上問題解析
- svn圖示問題
- SQLITE 遷移到 MYSQLSQLiteMySql
- 【遷移】SqlServer 遷移到 MySQL 方法ServerMySql
- 一招解決遷移到ModStart後連結不相容問題
- git和SVN的區別?Git
- Git與Svn的區別Git
- svn和git的區別Git
- Git和SVN的對比Git
- Git Submodules are not SVN ExternalsGit
- blog遷移到此
- WSL遷移到其他磁碟
- 【Git】問題Git
- git與svn的區別面試Git面試
- [git] git問題處理Git
- 遷移到 Vim 的10個難關
- git與svn對比Git
- Git clone 的小問題Git
- 使用git遇到的問題Git
- 從 golang flag 遷移到 cmdrGolang
- 從 Nginx 遷移到 Envoy ProxyNginx
- (原)將Oracle遷移到SQLServerOracleSQLServer
- 資料庫遷移到ASM資料庫ASM