views:

981

answers:

11

It is obviosly some Perl extensions. Perl version is 5.8.8.

I found Error.pm, but now I'm looking for Core.pm.

While we're at it: how do you guys search for those modules. I tried Google, but that didn't help much. Thanks.

+1  A: 

It should be compatible. The CPAN Tester's matrix shows no failures for Perl 5.8.8 on any platform.

Per the README, you can install it by doing:

perl Makefile.pl
make
make test
make install
Michael Carman
Ok, this works. Now I'm missing SVN/Core.pm :(
Milan Babuškov
A: 

What do you mean by "does not seem to be compatible"? Can you post the error message?

If the latest version does not work, you can select an older version in the "other releases" drop down and download that.

Edit: to those reading this, the author updated the question, so my answer seems a bit out of left field :)

Ovid
Obviously, I didn't know the correct way to install it, and copying file manually did not work properly. I managed to make it work using Michael's advice. Thanks.
Milan Babuškov
+2  A: 

how do you guys search for those modules

http://search.cpan.org/

Aristotle Pagaltzis
Milan Babuškov
Michael Carman
Don't add the .pm extension while searching. It is just there to help determine the type of the file.
Brad Gilbert
+2  A: 

now I'm looking for Core.pm

That’s SVN::Core, which is a bit of a problem. Try installing Alien::SVN from CPAN. That worked for me on my freshly installed Slackware 12.0 on my laptop, but I have yet to get it to install on my workstation.

Aristotle Pagaltzis
+1  A: 

http://search.cpan.org/ is your first port of call for Perl modules.

Sam Kington
A: 

The place to search is http://search.cpan.org.

I have my browser (Firefox) set up so that I can type "cpan foo" in the address bar and it will search CPAN for modules matching "foo." You can do this with either a keyword bookmark or by assigning a keyword to a search plugin.

Michael Carman
A: 

I downloaded and unpacked Alien-SVN-1.4.6.0.tar.gz. It has files:

Build.PL  Changes  MANIFEST  META.yml  README  inc  lib  src

Now, sorry for being dumb, but how do I install this?

I tried to run: perl Build.PL

And I get:

Base class package "Module::Build" is empty.
    (Perhaps you need to 'use' the module which defines that package first.)
 at inc/My/SVN/Builder.pm line 5
BEGIN failed--compilation aborted at inc/My/SVN/Builder.pm line 5.
Compilation failed in require at Build.PL line 6.
BEGIN failed--compilation aborted at Build.PL line 6.

Thanks.

Milan Babuškov
+1  A: 
Base class package "Module::Build" is empty.
    (Perhaps you need to 'use' the module which defines that package first.)
 at inc/My/SVN/Builder.pm line 5
BEGIN failed--compilation aborted at inc/My/SVN/Builder.pm line 5.
Compilation failed in require at Build.PL line 6.
BEGIN failed--compilation aborted at Build.PL line 6.

is a (rather poor) way of asking you to install Module::Build.

Once you do that, it's

perl Build.PL
./Build
./Build test
./Build install
cjm
A: 

is a (rather poor) way of asking you to install Module::Build.

Ok, downloaded, ran: perl Makefile.PL and got:

Checking prerequisites...
 * Optional prerequisite Module::Signature is not installed
 * Optional prerequisite ExtUtils::ParseXS is not installed
 * Optional prerequisite version is not installed
 * Optional prerequisite Archive::Tar is not installed
 * Optional prerequisite Pod::Readme is not installed
 * Optional prerequisite ExtUtils::CBuilder is not installed

Aaaargh. I didn't know that Perl dependency hell also exists :( But luckily enough, those seem to be optional. So, I got that up, and now went back to installing Alien-SVN. It got this:

Checking prerequisites...
 - ERROR: ExtUtils::MakeMaker (6.30) is installed, but we need version >= 6.31
 - ERROR: version is not installed

Should I really be concerned about that?

Milan Babuškov
I've not installed Alien-SVN myself, but when it says ERROR, I'd guess it's significant. You can find both of those at http://search.cpan.org
cjm
Got it, thanks. At first I didn't realize 'version' is a package, and not a 'version' of MakeMaker ;)
Milan Babuškov
Those are hard faults, so yes, you should be concerned. If the cpan shell is available, try using it. It will resolve the dependency hell for you.
Michael Carman
+1  A: 

I'm guessing you're running on Slackware so the cpan command is what you want to be using to install any Perl modules. It will pull in all dependencies for you. If you're running it for the first time it will have to do some cofiguration, but newer versions of cpan will ask if you want it to automatically configure it.

$ sudo cpan

cpan> install Alien::SVN

Additionally, if there's a package management application for Slackware, you should try that first to install new Perl modules.

mnology
Thanks. Slackware is a little bit specific regarding this (no sudo) and I don't see ready to use packages available.
Milan Babuškov
You can shorten that command to just 'cpan Alien::SVN'. You don't have to drop into the CPAN.pm shell to do anything.
brian d foy
A: 

And finally, after I built everything, running:

./Build install

gives me:

Running make install-lib 
/bin/ginstall -c -d /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/Alien/SVN --prefix=/usr
/bin/ginstall: unrecognized option `--prefix=/usr'
Try `/bin/ginstall --help' for more information.
make: *** [install-fsmod-lib] Error 1
installing libs failed at inc/My/SVN/Builder.pm line 165.

Looks like Slackware's 'ginstall' really does not have that option. I think I'm going to Google a little bit now, to see how to get around this.

Milan Babuškov