[Mod_gzip] Makefile problem for Apache static compile

mod_gzip@lists.over.net mod_gzip@lists.over.net
Wed, 24 Sep 2003 11:18:31 +0200


Hi Christopher,


> >>--activate-module=src/modules/gzip/mod_gzip.a" \
> >you should refer to the source file "mod_gzip.c" in this line
> just so you know, the English version of your pages says
> --activate-module=src/modules/gzip/mod_gzip.a" \

thanks for debugging my pages. I changed this line accordingly.

>>But the problem seems to be that the line
>>     LIB=libgzip.$(LIBEXT)
>>doesn't always work as expected.
> probably since LIBEXT isn't definied on every platform?

It looks this way, yet a "grep LIBEXT" in the Apache source
directory gives me the impression that it might be the task
of "configure" to automagically set this extension.

And because ".a" might be the wrong extension on some platforms
I wouldn't rather hardcode this into "Makefile.tmpl" in general.

>>Could you please edit the "Makefile.tmpl" file and change the
>>first (non-empty) line to
>>     LIB=libgzip.a
>>and then re-run "configure"? (This is how it works on my platform.)
> This works.  Thank you.

Nice. I added a section to my documentation about this.

> Thanks for a great module.  It makes me look like a hero ;)

This is what mod_gzip is meant to do. ;-)

Regards, Michael