make has failed

Jordi

Verified User
Joined
Jan 14, 2006
Messages
15
Hi i have a problem on a server while ./build all or ./build update

I dont know what causes the problem or what happend but apache wont start anymore.

Here is the error i get doing ./build all

gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208125 -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:3034: error: `DBM' undeclared (first use in this function)
mod_rewrite.c:3034: error: (Each undeclared identifier is reported only once
mod_rewrite.c:3034: error: for each function it appears in.)
mod_rewrite.c:3034: error: `dbmfp' undeclared (first use in this function)
mod_rewrite.c:3035: error: `datum' undeclared (first use in this function)
mod_rewrite.c:3035: error: syntax error before "dbmkey"
mod_rewrite.c:3043: error: `dbmkey' undeclared (first use in this function)
mod_rewrite.c:3046: error: `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.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.34'
make: *** [build] Error 2

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

I tryed http://help.directadmin.com/item.php?id=5

Could anyone help me with this one.
Server has redhad interprise.
Server version: Apache/2.0.52

I also tryed http://help.directadmin.com/item.php?id=1
and http://help.directadmin.com/item.php?id=54

thank you
 
Ok, solved by support@directadmin.

yum install gdbm-devel

and ./build all went fine :)

thx
 
Back
Top