LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-02-2009, 08:34 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 242

Rep: Reputation: 18
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 ?
 
Old 02-02-2009, 09:01 AM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 561

Rep: Reputation: 58
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.
 
Old 02-02-2009, 09:12 AM   #3
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 242

Original Poster
Rep: Reputation: 18
in repo is realy old subversion 1.4.2

I must install minimum 1.5 and higher...
 
Old 02-02-2009, 09:18 AM   #4
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 561

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

Good luck!
 
Old 02-02-2009, 11:17 AM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,905

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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
 
Old 03-27-2009, 10:01 AM   #6
smm1325
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
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?
 
Old 03-27-2009, 11:37 AM   #7
unixmen
Member
 
Registered: Jan 2009
Posts: 39

Rep: Reputation: 16
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
 
Old 09-25-2009, 03:29 PM   #8
bylsmad
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
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;
 
  


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
subversion installation using yum myfoot Linux - Newbie 1 08-17-2008 11:20 AM
CentOS Installation Problem - Can't recognize logical drives with RAID 16vjohn Linux - Server 5 02-14-2008 06:22 PM
installing subversion on centos 3.6 japheth Linux - Software 4 08-21-2007 01:54 PM
Linux CentOS installation problem skylimit Linux - Newbie 2 12-03-2006 03:27 PM
NE2000 installation problem on RH/CentOS yantor Linux - Networking 5 06-12-2006 04:34 AM


All times are GMT -5. The time now is 09:54 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