安装完git提示我可选依赖 git svn,试了一下报错
git 的可选依赖
python: various helper scripts
subversion: git svn
111@DESKTOP-FM49GIC MSYS ~
$ git svn
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /usr/share/perl5 /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/share/perl5/Git/SVN.pm line 32.
BEGIN failed--compilation aborted at /usr/share/perl5/Git/SVN.pm line 32.
Compilation failed in require at /usr/lib/git-core/git-svn line 23.
BEGIN failed--compilation aborted at /usr/lib/git-core/git-svn line 23.
以前装的时候也出过问题,但是都没有记录,忘了怎么解决了,这次记录下来吧,git svn 不只是安装git了就能用了,还得依赖svn…
所以是因为我没有安装svn报错。
pacmac -S svn 安装完之后就好了