I get an error while running ./build all
This is the error...
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208130 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE mod_alias.c && mv mod_alias.o mod_alias.lo
gcc -shared -o mod_alias.so mod_alias.lo
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208130 -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:51:
mod_rewrite.h:91:18: ndbm.h: No such file or directory
mod_rewrite.c: In function `lookup_map_dbmfile':
mod_rewrite.c:3035: error: `DBM' undeclared (first use in this function)
mod_rewrite.c:3035: error: (Each undeclared identifier is reported only once
mod_rewrite.c:3035: error: for each function it appears in.)
mod_rewrite.c:3035: error: `dbmfp' undeclared (first use in this function)
mod_rewrite.c:3036: error: `datum' undeclared (first use in this function)
mod_rewrite.c:3036: error: syntax error before "dbmkey"
mod_rewrite.c:3044: error: `dbmkey' undeclared (first use in this function)
mod_rewrite.c:3047: 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/custombuild/apache_1.3.39/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/apache_1.3.39'
make: *** [build] Error 2
*** The make has failed, do you want to try to make again? (y,n):
This is the output of ./build options
Apache: 1.3.39
Dovecot: 1.0.7
exim.conf update: no
MySQL: 5.1.20
PHP: 4.4.7 as CLI and 5.2.5 as CGI (default: PHP 4.4.7) with mail() header patch
phpMyAdmin: 2.11.2.2-all-languages
ProFTPD: 1.3.1
RoundCube webmail: 0.1-rc2
Run "clean" every time: yes
SquirrelMail: 1.4.11
Zend Optimizer: 3.2.8
I tried both version, the stable and the Beta. Both gave the same error.
Regards,