apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject fails to compile dbm
Date Thu, 17 Jan 2002 23:42:38 GMT
The build on Linux is broken at

make[4]: Entering directory `/home/fielding/ws/httpd-2.0/srclib/apr-util/dbm'
/bin/sh /home/fielding/ws/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2
-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -Werror  -DHAVE_CONFIG_H
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE   -I/home/fielding/ws/httpd-2.0/srclib/apr-util/include
-I/home/fielding/ws/httpd-2.0/srclib/apr-util/include/private -I/home/fielding/ws/httpd-2.0/srclib/apr-util/include
-I/home/fielding/ws/httpd-2.0/srclib/apr-util/include/private -I/home/fielding/ws/httpd-2.0/srclib/apr/include
 -c apr_dbm_berkeleydb.c && touch apr_dbm_berkeleydb.lo
apr_dbm_berkeleydb.c: In function `vt_db_fetch':
apr_dbm_berkeleydb.c:253: `DB_NOTFOUND' undeclared (first use in this function)
apr_dbm_berkeleydb.c:253: (Each undeclared identifier is reported only once
apr_dbm_berkeleydb.c:253: for each function it appears in.)
make[4]: *** [apr_dbm_berkeleydb.lo] Error 1
make[4]: Leaving directory `/home/fielding/ws/httpd-2.0/srclib/apr-util/dbm'

fielding@waka% uname -a
Linux waka.ebuilt.net 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i586 unknown

fielding@waka% more ./config.nice 
#! /bin/sh
# Created by configure

"./configure" \
"--enable-maintainer-mode" \
"--prefix=/home/fielding/ws/test" \
"--enable-modules=most" \

I think it is because this check in config.log works:

configure:3100: gcc -c -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-I/usr/include/db1 conftest.c 1>&5

but the  -I/usr/include/db1  is not being saved for later use.


View raw message