LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   CentOS 5.2 Subversion - installation problem (http://www.linuxquestions.org/questions/linux-server-73/centos-5-2-subversion-installation-problem-701632/)

dlugasx 02-02-2009 08:34 AM

CentOS 5.2 Subversion - installation problem
 
Hello,

when I`m trying to install Subversion 1.5.5 on Centos i386 I have that error.

Code:

perl(File::Path) >= 1.0404 is needed by subversion-tools-1.5.5-1.i386
I`ve downloaded rpms from this subversion repository
http://summersoft.fay.ar.us/pub/subv....5/rhel5/i386/


Maybe somebody knows how can I solve this problem ? Looks like a problem with perl home directory...


What should I install to correct this ?

robertjinx 02-02-2009 09:01 AM

try to install rpm -Uhv --nodeps --force package.rpm. Or try to get the latest perl lib which is too old. I think you should try to install subversion from CentOS repos, not from some RedHat packages.

yum install svn or yum search svn and see whats the name of the package.

dlugasx 02-02-2009 09:12 AM

in repo is realy old subversion 1.4.2

I must install minimum 1.5 and higher...

robertjinx 02-02-2009 09:18 AM

Well then try to force the installation or install a newer version of the perl library which is need it.

Good luck!

bathory 02-02-2009 11:17 AM

Quote:

perl(File::Path) >= 1.0404 is needed by subversion-tools-1.5.5-1.i386
You need to install or upgrade (in version <1.0404) the File::Path.
These modules are available at cpan.
You can use the cpan shell to install the perl module you want, or d/l it and compile it from cli.
If you want to use yum, then this this post will help you.

Regards

smm1325 03-27-2009 10:01 AM

I have the same problem with the subversion-tools RPM. I'm installing onto a RHEL5 server, and continually encounter the dependency failure. I have installed File::Path 2.07 from CPAN, and still no dice. I really don't want to install with --nodeps, as I'm trying to make the install as clean as possible. Has anyone found a solution/workaround yet?

unixmen 03-27-2009 11:37 AM

try this File
ftp://ftp.pbone.net/mirror/reb00t.co...fc8.noarch.rpm

if you have some independency porbleme
install with option --force --nodeps


Cheers
Tha Fantaman

bylsmad 09-25-2009 03:29 PM

It appears that the problem is with subversion-tools, in which contrib/client-side/svn_load_dirs/svn_load_dirs.pl contains the line

use File::Path 1.0404;

This causes rpmbuild to list perl(File::Path) >= 1.0404 as a dependency for the tools package

the perl on my rhel5 box provides perl(File::Path) = 1.08

to rpm, 1.08 < 1.0404 (I think it sees 08 as 8 and 0404 as 404 and compares them numerically?)

Anywho, I fixed the problem by adding the following patch into subversion.spec and rebuilding the package:

--- subversion-1.5.5/contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in 2008-12-21 17:54:37.000000000 -0800
+++ subversion-1.5.5-modified/contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in 2009-09-25 11:26:37.000000000 -0700
@@ -13,7 +13,7 @@
use Digest::MD5 2.20;
use File::Copy 2.03;
use File::Find;
-use File::Path 1.0404;
+use File::Path 1.08;
use File::Temp 0.12 qw(tempdir tempfile);
use Getopt::Long 2.25;
use Text::Wrap;


All times are GMT -5. The time now is 03:56 PM.