A few months ago, I came here with problems getting subversion to
recognize Berkeley DB 4.2. Since then, it seems that apr-util now
understands about v4.2, but it's still having trouble with the BDB
libraries.
After configuring and compiling the DB files, and using what I think
are all of the correct flags to point to them with the subversion
configure script, I get the following:
checking for Berkeley DB 4.2 in /home/rguthr/src/Berkeley42...
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/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.2... no
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/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 -ldb4... no
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/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... no
configure: error: Berkeley db4 not found
configure failed for apr-util
Note the "yes"s at a couple of points.
The config.log doesn't seem very enlightening, but I'll gladly upload
it somewhere for your perusal if it will do any good.
There are a few things that likely will be asked about my
configuration, so here goes:
OS: uname -a
AIX servername 2 5 00281FFA4C00
apr-util: included version from svn source.
No GNU utilities are installed, except for perl, v5.8.0
And finally, here is the script I use to run the configuration, showing
all of the options I used:
====================
#!/bin/ksh
SVN_DIR=/home/rguthr/src/svn/subversion-1.0.5/
cd $SVN_DIR
DB_DIR=/home/rguthr/src/Berkeley42
export LIBPATH=$LIBPATH:$DB_DIR/lib:/usr/ccs/lib/
export CFLAGS='-qlanglvl=extended'
export LDFLAGS="-L$DB_DIR/lib
-Wl,-blibpath:$DB_DIR/lib:/usr/lpp/xlopt:/usr/lib/threads:/usr/lib:/
lib"
./configure --prefix=/home/rguthr/subversion \
--with-berkeley-db=$DB_DIR \
--with-dbm=db42 \
--disable-shared \
2>&1 | tee subversion_config.log
===========================
Let me know if you want anything else.
Thanks for you time!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 23 19:43:31 2004