LoginSignup
0
0

More than 1 year has passed since last update.

Homebrewでインストールした git svn で Can't locate SVN/Core.pm となるのをサクッと解決する

Posted at

1. シェル変数を設定する

$ PERL_VERSION=`ls /usr/local/lib/perl5/site_perl`
$ GIT_VERSION=`ls /usr/local/Cellar/git`

2. SVN/Core.pmなどのperlモジュールの場所を設定する

ln -sf \
/usr/local/lib/perl5/site_perl/${PERL_VERSION}darwin-thread-multi-2level/SVN \
/usr/local/Cellar/git/${GIT_VERSION}share/perl5
ln -sf \
/usr/local/lib/perl5/site_perl/${PERL_VERSION}darwin-thread-multi-2level/auto \
/usr/local/Cellar/git/${GIT_VERSION}share/perl5

完了

$ git svn --version
git-svn version 2.33.0 (svn 1.14.1)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0