Apache 1.3.26 compile error

Tim Holterhus lfs at holterhus.com
Sat Aug 31 03:28:44 PDT 2002


Hi,

I got the following error when trying to compile apache according to the blfs 
book:

------------snip------------
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -I/usr/include/gdbm 
-DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -O3 -march=i686 
`../../apaci` -fpic -DSHARED_MODULE mod_rewrite.c && mv mod_rewrite.o 
mod_rewrite.lo
In file included from mod_rewrite.c:93:
mod_rewrite.h:133:18: ndbm.h: No such file or directory
mod_rewrite.c: In function `lookup_map_dbmfile':
mod_rewrite.c:2871: `DBM' undeclared (first use in this function)
mod_rewrite.c:2871: (Each undeclared identifier is reported only once
mod_rewrite.c:2871: for each function it appears in.)
mod_rewrite.c:2871: `dbmfp' undeclared (first use in this function)
mod_rewrite.c:2872: `datum' undeclared (first use in this function)
mod_rewrite.c:2872: parse error before "dbmkey"
mod_rewrite.c:2877: `dbmkey' undeclared (first use in this function)
mod_rewrite.c:2880: `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 `/opt/blfs/net/web/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/blfs/net/web/apache_1.3.26'
make: *** [build] Error 2
------------snip------------

I assume this has sth to do with the configure options, as we're disabling the 
module 'auth_dbm', but when running ./configure, I get the following:

------------snip------------
 + adding selected modules
    o rewrite_module uses ConfigStart/End
 + using -lgdbm for DBM support
      enabling DBM support for mod_rewrite
------------snip------------

Anyone seen this before?

	-Tim
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list