I'm trying to install Subversion on a RedHat Enterprise Edition 3.0 box and
have run into some issues. Here's a quick description of my experiences.
Here's where I've been:
Downloaded binary RPMs from
http://summersoft.fay.ar.us/pub/subversion/latest/whitebox-el-3/bin/
Specifically
apr-0.9.5-0.2.i386.rpm
apr-devel-0.9.5-0.2.i386.rpm
apr-util-0.9.5-0.3.i386.rpm
db42-4.2.52-0.1.i386.rpm
db42-devel-4.2.52-0.1.i386.rpm
db42-utils-4.2.52-0.1.i386.rpm
httpd-2.0.48-16.1.i386.rpm
neon-0.24.7-1.i386.rpm
subversion-1.1.1-1.wbel3.i386.rpm
subversion-server-1.1.1-1.wbel3.i386.rpm
subversion-tools-1.1.1-1.wbel3.i386.rpm
So I try starting with the basics:
rpm -ivh subversion-1.1.1-1.wbel3.i386.rpm apr-0.9.5-0.2.i386.rpm
apr-util-0.9.5-0.3.i386.rpm neon-0.24.7-1.i386.rpm
error: Failed dependencies:
db42 >= 4.2.52 is needed by subversion-1.1.1-1
libdb-4.2.so is needed by subversion-1.1.1-1
libdb-4.2.so is needed by apr-util-0.9.5-0.3
So I try to upgrade db4
rpm -U db42-4.2.52-0.1.i386.rpm db42-utils-4.2.52-0.1.i386.rpm
<snip big pile of conflicts with db4-utils>
Maybe it will install alongside db4.1
rpm -ivh db42-4.2.52-0.1.i386.rpm db42-utils-4.2.52-0.1.i386.rpm
<snip big pile of conflicts with db4-utils>
Ok, so lets bite the bullet and try replacing db4.1 with db42
(cringes at the list of dependencies)
rpm -e --nodeps db4-utils-4.1.25-8 db4-4.1.25-8
Now this goes on cleanly
rpm -ivh db42-4.2.52-0.1.i386.rpm db42-utils-4.2.52-0.1.i386.rpm
But here's a problem:
/etc/rc.d/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: /usr/sbin/httpd: error while loading shared libraries:
libdb-4.1.so: cannot open shared object file: No such file or directory
[FAILED]
So, I get a little sneaky here and fake out apache...
ln -s /usr/lib/libdb-4.2.so /usr/lib/libdb-4.1.so
ln -s /lib/libdb-4.2.so /lib/libdb-4.1.so
Now apache starts, and is apparently, working correctly.
Where were we?
rpm -ivh subversion-1.1.1-1.wbel3.i386.rpm apr-0.9.5-0.2.i386.rpm
apr-util-0.9.5-0.3.i386.rpm neon-0.24.7-1.i386.rpm
Preparing... ########################################### [100%]
file /usr/lib/libapr-0.so.0 from install of apr-0.9.5-0.2 conflicts
with file from package httpd-2.0.46-25.ent
file /usr/lib/libaprutil-0.so.0 from install of apr-util-0.9.5-0.3
conflicts with file from package httpd-2.0.46-25.ent
grrrr....
Ok, let's force the issue and see what happens.
rpm -ivh --force subversion-1.1.1-1.wbel3.i386.rpm apr-0.9.5-0.2.i386.rpm
apr-util-0.9.5-0.3.i386.rpm neon-0.24.7-1.i386.rpm
<install completes>
Apache restarts and appears to be working properly.
Feeling cocky, I try to install Subversion-server
rpm -ivh subversion-server-1.1.1-1.wbel3.i386.rpm
error: Failed dependencies:
httpd >= 2.0.48-0.1 is needed by subversion-server-1.1.1-1
Ok, let's try to upgrade apache
rpm -Uvh httpd-2.0.48-16.1.i386.rpm
<install completes>
/etc/rc.d/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 16 of /etc/httpd/conf.d/ssl.conf:
Cannot load /etc/httpd/modules/mod_ssl.so into server:
/etc/httpd/modules/mod_ssl.so: undefined symbol: ap_hook_test_config
[FAILED]
Ouch ... that'll leave a mark.
I guess I'll leave subversion server for another
day.
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 10 22:35:48 2004