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

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

From: Timothee Besset <ttimo_at_idsoftware.com>
Date: 2003-12-08 00:05:25 CET

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" \
"$@"

checking checking for Berkeley DB 4.0 in /usr/local/BerkeleyDB.4.2/...
checking for db4/db.h... no
checking for db.h... yes
checking for db-4.0... no
checking for db4/db.h... no
checking for db.h... yes
checking for db4... no
checking for db4/db.h... no
checking for db.h... yes
checking for db... no
configure: error: Berkeley db4 not found
configure failed for srclib/apr-util

from srclib/apr-util/config.log:

configure:8823: gcc -o conftest -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I/usr/local/BerkeleyDB.4.2//include -L/usr/local/BerkeleyDB.4.2//lib conftest.c -ldb-4.0 1>&5
configure: failed program was:
[..]
  if (0 != -1) {
    if (minor < 0)
      exit (1);
    if (minor > 0)
      exit (0);
  }
That will *NOT* let 4.2 through

Another thing I'd mention, is that the INSTALL file doesn't mention
anywhere that you need to pass Berkeley DB info to apr-util config. If you
don't though, svn's configure stage won't agree to build server stuff. And
also that httpd 2.0.48's toplevel configure doesn't mention anything about
Berkeley DB either in it's --help (as it's stuff that's going to be passed
to srclib/apr-util/configure).

TTimo

---------------------------------------------------------------------
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:06:10 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.