LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-07-2008, 09:25 AM   #1
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 421

Rep: Reputation: 45
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?
 
Old 06-07-2008, 09:40 AM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 507

Rep: Reputation: Disabled
You probably need this, but I barely know perl and git-svn, so don't trust me too much.
 
Old 06-07-2008, 10:29 PM   #3
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 421

Original Poster
Rep: Reputation: 45
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.
 
Old 06-08-2008, 12:50 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,751

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Another link for you:
http://search.cpan.org/search?query=SVN.Core&mode=all
 
Old 06-08-2008, 06:55 AM   #5
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 421

Original Poster
Rep: Reputation: 45
Many thanks rg3 and gnashley. problem fixed after installing the Error, Alien-SVN and Module-Build (which is needed when build Alien-SVN).
 
Old 09-04-2008, 06:17 PM   #6
greeneagle
Member
 
Registered: Dec 2004
Location: Dublin Ireland via Cobh, Limerick.
Distribution: RedHat, Suse, Ubuntu.
Posts: 33

Rep: Reputation: 16
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.
 
Old 04-17-2009, 05:02 PM   #7
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
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.
 
Old 04-17-2009, 08:00 PM   #8
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 421

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by DragonWisard View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 05:58 PM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
svn checkout -bash svn command not found Anauj0101 Linux - Newbie 6 04-20-2008 05:50 PM
Managing branches in Git Mike_W Programming 2 01-19-2008 03:27 PM
KMail is a git acid_kewpie Linux - General 0 09-15-2001 01:13 PM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration