I'm trying to install SVN on a CentOS virtual machine.
I used the command that the CentOS wiki tells:
http://wiki.centos.org/HowTos/Subversion
yum install mod_dav_svn subversion
It gives me a few errors:
--> Finished Dependency Resolution
mod_dav_svn-1.4.2-4.el5_3.1.i386 from base has depsolving problems
--> Missing Dependency: httpd-mmn = 20051115 is needed by package mod_dav_svn-1.4.2-4.el5_3.1.i386 (base)
subversion-1.4.2-4.el5_3.1.i386 from base has depsolving problems
--> Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.4.2-4.el5_3.1.i386 (base)
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.4.2-4.el5_3.1.i386 (base)
Error: Missing Dependency: httpd-mmn = 20051115 is needed by package mod_dav_svn-1.4.2-4.el5_3.1.i386 (base)
The thing is that I have Perl 5.8 installed:
root@server [~]# rpm -q perl
perl-5.8.8-32.el5_5.2
I also don't know why it tells httpd-mmn isn't installed. I have apache installed for sure.
From what I read here, it seems I would need to recompile apache.
www.sitepoint.com /forums/showthread.php?t=485683
Any ideas?
Update:
I also tried to install subversion via WHM (11.28.35) and it gives me the same error.
By the way, WHM it says:
CENTOS 5.5 i686 virtuozzo on server
Best Answer
Regarding perl(URI), this sometimes happens with perl modules, where the name embedded in the package which needs a thing is not quite the same as the name of the package that provides the thing. In this case a
yum list |grep URI
tells me that the package is calledperl-URI
, and is currently in the main repositories for CentOS at 1.35-3, which should do you.Do a
Regarding httpd-mmn, I'm confused. I have a number of stock CentOS boxes, and when I do a
yum install mod_dav_svn subversion
it tells me that it needs only httpd (and moreover, it picks up the right perl-URI automatically). As Ignacio says above, is it possible that you're running a system which isn't using the stock httpd and perl packages from CentOS, but another provider's? Can you do anand post the results?