You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Gomez Henri <ne...@slib.fr> on 2001/02/09 10:16:45 UTC

apache 2.0, dbm and RH 7.0

Apache 2.0 fail to compile under Redhat 7.0

/bin/sh /usr/src/redhat/BUILD/httpd-2.0/shlibtool --silent --mode=compile
gcc  -I. -I/usr/src/redhat/BUILD/httpd-2.0/modules/aaa -I/usr/src/redhat/BUI
LD/httpd-2.0/server/mpm/dexter -I/usr/src/redhat/BUILD/httpd-2.0/include -I/
usr/src/redhat/BUILD/httpd-2.0/srclib/apr/include -I/usr/src/redhat/BUILD/ht
tpd-2.0/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-2.0/modules/da
v/main -I/usr/src/redhat/BUILD/httpd-2.0/os/unix -I/usr/src/redhat/BUILD/htt
pd-2.0/srclib/expat-lite -DAPACHE_XLATE -D_REENTRANT -DLINUX=2 -pthread -DNO
_DBM_REWRITEMAP -pthread  -c mod_auth_anon.c && touch mod_auth_anon.slo
/bin/sh /usr/src/redhat/BUILD/httpd-2.0/shlibtool --silent --mode=link
cc  -I. -I/usr/src/redhat/BUILD/httpd-2.0/modules/aaa -I/usr/src/redhat/BUIL
D/httpd-2.0/server/mpm/dexter -I/usr/src/redhat/BUILD/httpd-2.0/include -I/u
sr/src/redhat/BUILD/httpd-2.0/srclib/apr/include -I/usr/src/redhat/BUILD/htt
pd-2.0/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-2.0/modules/dav
/main -I/usr/src/redhat/BUILD/httpd-2.0/os/unix -I/usr/src/redhat/BUILD/http
d-2.0/srclib/expat-lite -DAPACHE_XLATE -D_REENTRANT -DLINUX=2 -pthread -DNO_
DBM_REWRITEMAP -pthread  -export-dynamic -export-dynamic -export-dynamic -ex
port-dynamic -export-dynamic -export-dynamic   -o mod_auth_anon.la -rpath
/usr/lib/apache2 -module -avoid-version  mod_auth_anon.lo
/bin/sh /usr/src/redhat/BUILD/httpd-2.0/shlibtool --silent --mode=compile
gcc  -I. -I/usr/src/redhat/BUILD/httpd-2.0/modules/aaa -I/usr/src/redhat/BUI
LD/httpd-2.0/server/mpm/dexter -I/usr/src/redhat/BUILD/httpd-2.0/include -I/
usr/src/redhat/BUILD/httpd-2.0/srclib/apr/include -I/usr/src/redhat/BUILD/ht
tpd-2.0/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-2.0/modules/da
v/main -I/usr/src/redhat/BUILD/httpd-2.0/os/unix -I/usr/src/redhat/BUILD/htt
pd-2.0/srclib/expat-lite -DAPACHE_XLATE -D_REENTRANT -DLINUX=2 -pthread -DNO
_DBM_REWRITEMAP -pthread  -c mod_auth_dbm.c && touch mod_auth_dbm.slo
In file included from mod_auth_dbm.c:89:
/usr/include/db1/ndbm.h:42:16: db.h: No such file or directory
make[3]: *** [mod_auth_dbm.slo] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.0/modules/aaa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.0/modules/aaa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.0/modules'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.71582 (%build)

A quick fix is to add EXTRA_LIBS "-ldb1"
EXTRA_INCLUDES="-I/usr/include/db1 -DHAVE_DB_H"
in configure and make.

Where could we include that ?