httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gomez Henri" <new-ht...@slib.fr>
Subject apache 2.0, dbm and RH 7.0
Date Fri, 09 Feb 2001 09:16:45 GMT
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 ?








Mime
View raw message