Compiled git from source, cannot access subversion repositories using git-svn

Posted by haydenmuhl on Server Fault See other posts from Server Fault or by haydenmuhl
Published on 2010-05-22T01:35:54Z Indexed on 2010/05/22 1:41 UTC
Read the original article Hit count: 357

Filed under:
|
|

I'm setting up a CentOS dev box, and need git. At first I tried to install git using yum, but I could not connect to a yum repository that had git. Next I downloaded the git source (version 1.7.1) and compiled it. When I run the following command

git svn clone svn+ssh://...

I get the following error.

Initialized empty Git repository in /root/main_ec/.git/ Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/libexec/git-core/git-svn line 41.

It looks like git-svn uses perl in some manner, but I don't know packages I'm missing. Can anyone help?

© Server Fault or respective owner

Related posts about git

Related posts about svn