[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion, Fedora, 1.01 & DB problems

From: Mukund <mukund_at_tessna.com>
Date: 2004-04-21 14:39:07 CEST

I leave the Fedora Core 1 supplied db4 package alone (too many
dependencies on that) and build and install a local bdb 4.2.52 in
/usr/local/db4. Then I compile Apache httpd (2.0.49 and above-only link
properly with a local db4 without linking to the system-installed db4)
and its apr, apr-util passing --with-berkeley-db=/usr/local/db4.
Then I compile Subversion with just the apr-related configure parameters.

        You may be trying to use pre-built packages, but these are my 2
cents which works for me.

----
Let's assume BDB 4.2.52 is compiled and installed in /usr/local/db4.
Example configure command for Apache httpd 2.0.49:
./configure --prefix=/usr/local/apache --enable-so --enable-ssl \
--with-mpm=prefork --with-berkeley-db=/usr/local/db4 --enable-dav \
--enable-deflate
Example configure command for Subversion 1.0.2 (after Apache httpd is
compiled and installed from above):
./configure --with-zlib --disable-mod-activation \
--with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache \
--with-apr-util=/usr/local/apache --enable-maintainer-mode --with-ssl
				Mukund
On Wed, Apr 21, 2004 at 01:26:11PM +0100, Toby Watson wrote:
> OK - reinstalled db42-4.2.52-0.1, but still can't Uvh to a later
> version. Also, still can't determine whether it is installed correctly
> and the configure script can't find it... It still worries me that there
> a two versions installed...
> 
> I have tried various 'hacks' from looking over old posts but no luck.
> 
> Really frustrated that I can't figure this out so would appreciate any
> help.
> 
> Toby.
> 
> -----Original Message-----
> From: Toby Watson 
> Sent: 21 April 2004 12:17
> To: users@subversion.tigris.org
> Subject: Subversion, Fedora, 1.01 & DB problems
> 
> Dimitri - thanks for the reply. The trouble is that I (in theory!) have
> db42 installed. I have tried removing this to reinstall, but of course
> dependency hell takes over:
> 
> db42-4.2.52-0.1
> [root@fedora root]# rpm -e db42
> error: Failed dependencies:
>         libdb-4.2.so is needed by (installed) apr-util-0.9.5-0.4
> [root@fedora root]# rpm -e apr-util
> error: Failed dependencies:
>         libaprutil-0.so.0 is needed by (installed) httpd-2.0.48-1.2
>         libaprutil-0.so.0 is needed by (installed) mod_perl-1.99_12-2
>         libaprutil-0.so.0 is needed by (installed) subversion-0.37.0-1
>         apr-util >= 0.9.5 is needed by (installed) subversion-0.37.0-1
>         apr-util >= 0.9.5 is needed by (installed)
> subversion-server-0.37.0-1
> [root@fedora root]# 
> 
> I thought I would try a different tack and download the 1.02 source and
> compile and make since this negates the 42 detection problem if I
> understand correctly... However, the is still an issue of missing DB. So
> it seems like I'm in a bit of a tangled web and can't escape...!
> 
> My thinking is that perhaps db42 is not installed properly - what's the
> best way to check this?
> 
> Many thanks,
> 
> Toby.
> 
> 
> -----Original Message-----
> From: Dimitri Papadopoulos-Orfanos [mailto:papadopo@shfj.cea.fr]
> Sent: 19 April 2004 07:50
> To: users@subversion.tigris.org
> Subject: [SPAM] - Re: Subversion, Fedora, 1.01 & DB problems - Found
> word(s) list remove e-mail in the Text body.
> 
> Hi,
> 
> > Unfortunately I have reached a dead end with trying to get 1.01 up and
> 
> > running on Fedora. Having downloaded the RPMs I can get things 
> > installed,  but I get the bad database version listed below. From web 
> > searches and looking back through the archives of this list I've 
> > noticed that there seem to be many others encountering the same 
> > problems and there appears to be no easy solution. There are 
> > dependencies all over the place when I try to remove a version of the 
> > Berkeley DB and the same is true if I try to simply rpm -Uvh etc... to
> upgrade an existing version.
> 
> As far as I know you don't need to upgrade/remove the existing BDB
> 4.1.25 package. You can install the new BDB 4.2.52 side by side with the
> old BDB 4.1.25.
> 
> That's precisely why the RPM package has been named db42, as opposed to
> db4. So that you don't have to upgrade/remove the old package and avoid
> dependency hell.
> 
> --
> Dimitri
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
-- 
Mukund
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 21 14:45:39 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.