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

Re: httpd 2.0.48's apr-util doesn't work against Berkeley DB 4.2

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-12-08 00:35:29 CET

Timothee Besset wrote:
> SVN 0.34 recommends DB 4.2 ..
>
> However, I've found that apr-util in httpd 2.0.48 can't be built against
> 4.2. The configure script will check the minor version to be == 0, and
> will bail out otherwise.
>
> ~/Build/httpd-2.0.48$ cat ./config.nice
> #! /bin/sh
> #
> # Created by configure
>
> "./configure" \
> "--enable-dav" \
> "--enable-so" \
> "--prefix=/usr/local/apache2/" \
> "--enable-ssl" \
> "--enable-deflate" \
> "--with-mpm=worker" \
> "--with-berkeley-db=/usr/local/BerkeleyDB.4.2/" \
> "--with-dbm=db4" \

That last line is not necessary, and is probably what is causing your problems.
  I just built against BDB-4.2 this morning with the [admittedly simpler] following:

#! /bin/sh
#
# Created by configure

"./configure" \
"--enable-dav" \
"--enable-so" \
"--with-berkeley-db=/usr/local/BerkeleyDB.4.2/" \
"$@"

As long as you built BDB-4.2 with the defaults, you not only don't need the
--with-dbm=db4 stanza (which is, I believe, a compatibility flag to prevent DB3
from being loaded instead of DB4).

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 8 00:35:50 2003

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

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