[Mod_gzip] Makefile problem for Apache static compile

Christopher L. Everett mod_gzip@lists.over.net
Sat, 20 Sep 2003 02:35:56 -0500


with Apache 1.3.28, using this configuration:

CC="gcc" \
OPTIM="-O3 -fomit-frame-pointer -ffast-math -malign-double 
-funroll-all-loops -fno-exceptions" \
TARGET="httpd-lite" \
./configure \
"--with-layout=lite" \
"--activate-module=src/modules/gzip/mod_gzip.a" \
"--activate-module=src/modules/extra/mod_proxy_add_forward.c" \
"--activate-module=src/modules/extra/mod_uid.c" \
"--enable-module=proxy" \
"--enable-module=rewrite" \
"--enable-module=include" \
"--disable-module=info" \
"--disable-module=imap" \
"--disable-module=userdir" \
"--disable-module=asis" \
"--disable-module=autoindex" \
"--disable-rule=EXPAT" \
"--target=httpd-lite" \
"$@"

I get this error compiling mod_gzip:

===> src/modules/gzip
Makefile:108: warning: overriding commands for target `libgzip.a'
Makefile:61: warning: ignoring old commands for target `libgzip.a'
Makefile:132: warning: overriding commands for target `.c.o'
Makefile:68: warning: ignoring old commands for target `.c.o'
Makefile:138: warning: overriding commands for target `clean'
Makefile:75: warning: ignoring old commands for target `clean'
Makefile:141: warning: overriding commands for target `distclean'
Makefile:78: warning: ignoring old commands for target `distclean'
Makefile:147: warning: overriding commands for target `depend'
Makefile:82: warning: ignoring old commands for target `depend'
make[4]: Warning: File `libgzip.a' has modification time 6.1e+04 s in 
the future
gcc -c  -I../../os/unix -I../../include  -O3 -fomit-frame-pointer 
-ffast-math -malign-double -funroll-all-loops -fno-exceptions -DLINUX=22 
-DTARGET=\"httpd-lite\" -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DNO_DL_NEEDED 
`../../apaci` mod_gzip.c
gcc -c  -I../../os/unix -I../../include  -O3 -fomit-frame-pointer 
-ffast-math -malign-double -funroll-all-loops -fno-exceptions -DLINUX=22 
-DTARGET=\"httpd-lite\" -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DNO_DL_NEEDED 
`../../apaci` mod_gzip_compress.c
gcc -c  -I../../os/unix -I../../include  -O3 -fomit-frame-pointer 
-ffast-math -malign-double -funroll-all-loops -fno-exceptions -DLINUX=22 
-DTARGET=\"httpd-lite\" -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DNO_DL_NEEDED 
`../../apaci` mod_gzip_debug.c
make[4]: *** No rule to make target `mod_gzip.a', needed by 
`libgzip.a'.  Stop.
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.28/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.28'
make: *** [build] Error 2

My repertoire doesn't extend to Makefiles yet, can someone help?