./build all mod_rewrite error

rotjeknor

New member
Joined
Sep 6, 2004
Messages
3
I'm trying to reinstall apache with DA. I run the commands:
cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build all

It runs fine, untill I get:
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208119 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE mod_rewrite.c && mv mod_rewrite.o mod_rewrite.lo
In file included from mod_rewrite.c:50:
mod_rewrite.h:90:18: ndbm.h: No such file or directory
mod_rewrite.c: In function `lookup_map_dbmfile':
mod_rewrite.c:3024: `DBM' undeclared (first use in this function)
mod_rewrite.c:3024: (Each undeclared identifier is reported only once
mod_rewrite.c:3024: for each function it appears in.)
mod_rewrite.c:3024: `dbmfp' undeclared (first use in this function)
mod_rewrite.c:3025: `datum' undeclared (first use in this function)
mod_rewrite.c:3025: parse error before "dbmkey"
mod_rewrite.c:3030: `dbmkey' undeclared (first use in this function)
mod_rewrite.c:3033: `dbmval' undeclared (first use in this function)
make[4]: *** [mod_rewrite.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.31/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.31'
make: *** [build] Error 2

*** The make has failed, do you want to try to make again? (y,n):

Does anybody know how to fix this?
 
Back
Top