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

Re: SVN, Apache2, and Berkeley4.2 (beyond the FAQ)

From: Gavin Kistner <gavin_at_refinery.com>
Date: 2004-03-09 20:47:51 CET

On Mar 9, 2004, at 12:35 PM, John Peacock wrote:
> For building Subversion itself, this is best:
>
> ./configure --with-apxs=/usr/local/apache2/bin/apxs
>
> (or wherever you installed apache). This will Do the Right Thing(TM)
> for you...

While I had hoped that it would, it was not so. Not below how it starts
out searching for 4.1, not 4.2. This is with an unpatched
svn/apr-util/configure script. I'm now testing flavors using patched
and unpatched and various configure directives. (sigh)

root@Frump:/usr/local/src/subversion-1.0.0# ldd
/usr/local/apache2/bin/httpd | fgrep libdb
         libdb-4.2.so => /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
(0x40045000)

root@Frump:/usr/local/src/subversion-1.0.0# ./configure
--with-apxs=/usr/local/apache2/bin/apxs | egrep 'bd|db|Berkeley'

/usr/bin/env: python: No such file or directory
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for h_errno in netdb.h... yes
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking checking for Berkeley DB 4.1 in the standard places...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 4.1 in /usr/local/BerkeleyDB.4.1...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 4.0 in the standard places...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 4.0 in /usr/local...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 4.0 in /usr/local/BerkeleyDB.4.0...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 3 in the standard places...
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 2 in the standard places...
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 1.0.0 in the standard places...
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 1 in the standard places...
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
checking for default DBM... sdbm (default)
   setting APRUTIL_EXPORT_LIBS to "-lgdbm"
   setting APRUTIL_LIBS to "-lgdbm"
config.status: creating include/private/apu_select_dbm.h
config.status: creating dbm/Makefile
config.status: creating dbm/sdbm/Makefile
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
configure: WARNING: we have configured for a client-only build

The Subversion filesystem library, part of the server, requires
Berkeley DB version 4.0.14 or newer, which you don't seem to have
installed and linked to APR-UTIL. We have created makefiles which
will build the Subversion client code only, and skip the server. You
can find latest version of Berkeley DB at http://www.sleepycat.com/.
You can find the latest version of Berkeley DB here:
   http://www.sleepycat.com/download/index.shtml

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 20:48:15 2004

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