CentOS 5.2 Subversion - installation problem
when I`m trying to install Subversion 1.5.5 on Centos i386 I have that error.
Maybe somebody knows how can I solve this problem ? Looks like a problem with perl home directory...
What should I install to correct this ?
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.
in repo is realy old subversion 1.4.2
I must install minimum 1.5 and higher...
Well then try to force the installation or install a newer version of the perl library which is need it.
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.
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?
try this File
if you have some independency porbleme
install with option --force --nodeps
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::Path 1.0404;
+use File::Path 1.08;
use File::Temp 0.12 qw(tempdir tempfile);
use Getopt::Long 2.25;
|All times are GMT -5. The time now is 12:25 PM.|