LOL!
Thank you for the humor in your reply. I'm sorry I should have been a bit more specific. What I want is all modules to be built except for mod auth_dbm. make gives a compile error. Here is the output from make when I do the config command "./configure --prefix=/opt/apache --with-layout=GNU --enable-shared=max --enable-module=most --disable-shared=auth_dbm".
It should not have auth_dbm at all.
########## Start make output #########
ar cr libmain.a alloc.o buff.o http_config.o http_core.o http_log.o http_main.o http_protocol.o http_request.o http_vhost.o util.o util_date.o util_script.o util_uri.o util_md5.o rfc1413.o
ranlib libmain.a
<=== src/main
===> src/lib
<=== src/lib
===> src/modules
===> src/modules/standard
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DUSE_HSREGEX `../../apaci` mod_auth_dbm.c
mod_auth_dbm.c:41:18: error: ndbm.h: No such file or directory
mod_auth_dbm.c: In function ‘get_dbm_pw’:
mod_auth_dbm.c:109: error: ‘DBM’ undeclared (first use in this function)
mod_auth_dbm.c:109: error: (Each undeclared identifier is reported only once
mod_auth_dbm.c:109: error: for each function it appears in.)
mod_auth_dbm.c:109: error: ‘f’ undeclared (first use in this function)
mod_auth_dbm.c:110: error: ‘datum’ undeclared (first use in this function)
mod_auth_dbm.c:110: error: syntax error before ‘d’
mod_auth_dbm.c:113: error: ‘q’ undeclared (first use in this function)
mod_auth_dbm.c:127: error: ‘d’ undeclared (first use in this function)
make[4]: *** [mod_auth_dbm.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/opt/download/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/download/apache_1.3.34'
make: *** [build] Error 2
######### End make Output #########
I posted on the apache list server but the only reply I got there was to not use auth_dbm. So that is why I used the config command the way that I did. Telling config "all mods except auth_dbm".
Here is my first config command without the except auth_dbm. "./configure --prefix=/opt/apache --with-layout=GNU --enable-shared=max --enable-module=most"
Here is the output from make with this config command.
######### Start make Output ############
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DUSE_HSREGEX `../../apaci` -fpic -DSHARED_MODULE mod_auth_dbm.c && mv mod_auth_dbm.o mod_auth_dbm.lo
mod_auth_dbm.c:41:18: error: ndbm.h: No such file or directory
mod_auth_dbm.c: In function ‘get_dbm_pw’:
mod_auth_dbm.c:109: error: ‘DBM’ undeclared (first use in this function)
mod_auth_dbm.c:109: error: (Each undeclared identifier is reported only once
mod_auth_dbm.c:109: error: for each function it appears in.)
mod_auth_dbm.c:109: error: ‘f’ undeclared (first use in this function)
mod_auth_dbm.c:110: error: ‘datum’ undeclared (first use in this function)
mod_auth_dbm.c:110: error: syntax error before ‘d’
mod_auth_dbm.c:113: error: ‘q’ undeclared (first use in this function)
mod_auth_dbm.c:127: error: ‘d’ undeclared (first use in this function)
make[4]: *** [mod_auth_dbm.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/opt/download/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/download/apache_1.3.34'
make: *** [build] Error 2
########## End make Output ############
I hope this makes things a bit clearer and more specific. If you or anyone else knows how to get all mods working including auth_dbm, that would be great. I would still like to know how to do an "all mods except this mod" config for Apache. Just to know.
Versions:
Apache: 1.3.34
gcc: 4.0.2
Distro: Suse 10 Pro
kernel: 2.6.13-15.7-smp
thank you for your time.
Michael