You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by WC -Sx- Jones <li...@insecurity.org> on 2003/05/18 21:42:24 UTC

[users@httpd] Berkeley Db4 ?

Greetings;

I apologize for this seemingly off-topic post, but I feel one or more 
of you may be able to shed some light.  I have DB 4.1.25 installed and 
want to build Apache 2.0.45 against it; but I cannot work out the right 
magic.  What I have tried:

./configure \
--verbose --with-layout=Apache --prefix=/usr/local/apache \
--enable-module=most --enable-shared=max --enable-module=so \
--with-dbm=db --with-berkeley-db=/usr/local/BerkeleyDB \
--enable-cache --enable-disk-cache --enable-mem-cache \
--enable-case-filter --enable-case-filter-in --enable-logio \
--enable-mime-magic --enable-cern-meta --enable-expires \
--enable-headers --enable-usertrack --enable-unique-id \
--enable-proxy --enable-proxy-connect --enable-proxy-ftp \
--enable-proxy-http --enable-ssl --enable-static-support \
--enable-static-htpasswd --enable-static-htdigest \
--enable-static-rotatelogs --enable-static-logresolve \
--enable-static-htdbm --enable-static-ab --enable-static-checkgid \
--enable-http --enable-dav --enable-info --enable-cgi --enable-cgid \
--enable-dav-fs --enable-vhost-alias --enable-speling \
--disable-userdir --enable-rewrite


And even so far as a simple:

./configure \
--verbose --with-layout=Apache --prefix=/usr/local/apache \
--enable-module=most --enable-shared=max --enable-module=so \
--with-dbm=db --with-berkeley-db=/usr/local/BerkeleyDB

fails with the error that BerkleyDB cannot be found:

looking for berkeley-db includes with -I/usr/local/BerkeleyDB/include
looking for berkeley-db libs with -L/usr/local/BerkeleyDB/lib
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no

[ Although this section was interesting]
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb... no
checking for db_create_4000 in -ldb... no
checking for db_create_4001 in -ldb... no
[.......................................]

checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking for db.h... (cached) yes
checking for db_create in -ldb... (cached) no
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking for db.h... (cached) yes
checking for db_open in -ldb... no
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking for db.h... (cached) yes
checking for dbopen in -lc... no
checking for dbopen in -ldb1... no
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
configure: error: Berkeley DB not found in the specified directory
configure failed for srclib/apr-util


Has anyone else had this problem?  Any ideas about how to correct or 
get around it (other than not using BerkeleyDB?)


Thx/Bill  :)

http://insecurity.org/
_Sx____________________
  ('>    iudicium ferat
  //\   Have Computer -
  v_/_    Will Hack...

               \|/ ____ \|/
               "@'/ .. \`@"
               /_| \__/ |_\
                  \__U_/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org