LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Could not launch git-svn (http://www.linuxquestions.org/questions/slackware-14/could-not-launch-git-svn-647625/)

grissiom 06-07-2008 09:25 AM

Could not launch git-svn
 
Code:

bash-3.1$ git-svn
Can't locate Error.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.8/Git.pm line 93.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Git.pm line 93.
Compilation failed in require at /usr/bin/git-svn line 45.
BEGIN failed--compilation aborted at /usr/bin/git-svn line 45.

It seems like I lack some of perl modules. But I have all git and svn related packages installed. Does anyone have any idea?

rg3 06-07-2008 09:40 AM

You probably need this, but I barely know perl and git-svn, so don't trust me too much.

grissiom 06-07-2008 10:29 PM

Yes, installing the Error package solves the problem a bit. But I still got an error when launching git svn:
Code:

bash-3.1$ git-svn
Can't locate SVN/Core.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/bin/git-svn line 29.

It seems that git needs this SVN Perl module as dependency.

gnashley 06-08-2008 12:50 AM

Another link for you:
http://search.cpan.org/search?query=SVN.Core&mode=all

grissiom 06-08-2008 06:55 AM

Many thanks rg3 and gnashley. problem fixed after installing the Error, Alien-SVN and Module-Build (which is needed when build Alien-SVN).

greeneagle 09-04-2008 06:17 PM

This helped me also.
On cygwin SVN::Core comes in a package called subversion-perl. Handy. Easy.

On solaris it helps to know Alien::SVN is what can provide SVN::Core.
Solaris package for git (for solaris 10 intel/amd) from opensolaris/blastwave doesn't exist! :-o
So even the minimal package management you get with opensolaris pkg-get isn't possible.
Solaris package for git from sunfreeware is available, but for git svn you need to add some things.

I didn't find building Alien::SVN at all straightforward, see here:
http://gaoithe.livejournal.com/14606.html
Hopefully this can help other hapless solaris users.

DragonWisard 04-17-2009 05:02 PM

I was having trouble getting git-svn to run. I used cpan to install all the modules suggested in this thread and it still wouldn't work. I fought with cpan for about 4 hours and all that came of it was and even deeper hatred of Perl.

Then, I looked on SBo and saw this: http://slackbuilds.org/repository/12...sion-bindings/

Solved all my git-svn problems.

I feel like an idiot for not looking of SBo first, but hopefully I can save someone else from the pain of what I went through.

grissiom 04-17-2009 08:00 PM

Quote:

Originally Posted by DragonWisard (Post 3512659)
I was having trouble getting git-svn to run. I used cpan to install all the modules suggested in this thread and it still wouldn't work. I fought with cpan for about 4 hours and all that came of it was and even deeper hatred of Perl.

Then, I looked on SBo and saw this: http://slackbuilds.org/repository/12...sion-bindings/

Solved all my git-svn problems.

I feel like an idiot for not looking of SBo first, but hopefully I can save someone else from the pain of what I went through.

Thanks! Although I do not use git-svn nowadays(purely git instead ;) I feel I'm an idiot too for not looking at SBo :)


All times are GMT -5. The time now is 07:16 AM.