I'm trying to build subversion 1.2.1 on SuSE Linux 9.2.
---------------------
I've installed Berekeley DB 4.3 (in /usr/local/BerkeleyDB4.3).
---------------------
I've built httpd-2.0.54 with the following options:
./configure \
--prefix=/usr/local/apache2 \
--enable-cgi \
--enable-dav \
--enable-dav-fs \
--enable-deflate \
--enable-http \
--enable-info \
--enable-maintainer-mode \
--enable-so \
--enable-ssl \
--enable-swig-bindings \
--with-berkeley-db=/usr/local/BerkeleyDB.4.3
I've verified that httpd's configure found the DB:
checking for Berkeley DB 4.3 in /usr/local/BerkeleyDB.4.3...
checking db43/db.h usability... no
checking db43/db.h presence... no
checking for db43/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... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.3... yes
setting APRUTIL_INCLUDES to "-I/usr/local/BerkeleyDB.4.3/include"
setting APRUTIL_LDFLAGS to "-L/usr/local/BerkeleyDB.4.3/lib"
-----------------------------
I built Python-2.4.1. (But it demands that I use BerkeleyDB 4.0!, so
that's installed too!)
Python-2.4.1/Modules/Setup says:
# Sleepycat Berkeley DB interface
#
# This requires the Sleepycat DB code, see http://www.sleepycat.com/
# The earliest supported version of that library is 3.0, the latest
# supported version is 4.0 (4.1 is specifically not supported, as that
# changes the semantics of transactional databases).
-----------------------------
The problem is with subversion. I built it with:
setenv LD_LIBRARY_PATH "/usr/local/lib"
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/usr/lib"
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/usr/local/BerkeleyDB.4.3/lib"
./configure \
--prefix=/usr/local \
--enable-maintainer-mode \
--with-apr-util=/usr/local/apache2/bin/apu-config \
--with-apr=/usr/local/apache2 \
--with-apxs=/usr/local/apache2/bin/apxs \
--with-berkeley-db=/usr/local/BerkeleyDB.4.3 \
--with-berkeley-db \
--with-ssl \
--with-zlib
configure complains:
...
neon configured properly
checking for any extra libraries neon needs... -L/usr/local/lib -lz
-lssl -lcry
pto -ldl -lxml2 -lz -lpthread -lm
checking for static Apache module support... no
checking for Apache module support via DSO through APXS... found at
/usr/local/apache2/bin/apxs
checking httpd version... recent enough
checking for socket in -lsocket... no
checking for availability of Berkeley DB... no
configure: error: Berkeley DB 4.0.14 wasn't found.
1. Why is it complaining about 4.0.14???
2. Did I misunderstand something about Python requiring BDB 4.0 instead
of the latest 4.3?
3. How can subversion work with Berkeley DB 4.3 and Python handle only
4.0? Isn't python used to access subversion? Or does python access
subversion and not the database directly?
Thanks for any help you can give,
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 3 18:33:51 2005