[Mod_gzip] mod_gzip on Mac OS X

Tom Wiebe Lists mod_gzip@lists.over.net
Mon, 19 May 2003 12:04:35 -0700


Hi all,

Just wanted to get this into the general archive for anyone looking. 
Mod_Gzip fails when compiling with the included Makefile on Mac OS X 
10.2.6. The fix, however, is simple. Change the build line from:

$(APXS) -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c 
mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so

to:

$(APXS) -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c 
mod_gzip_debug.c mod_gzip_compress.c

Specifying the module name causes the process to spit up on itself, 
leave it off and everything works just as it should. I have no idea 
why, my knowledge of the whole build process is such that I probably 
shouldn't be using it myself, let alone disseminating my knowledge to a 
wider audience.

I'm just glad it works, this'll save us a bundle in bandwidth charges. 
Yipee!!

Tom Wiebe