Antwort: [Mod_gzip] [compilation problem] apache&mod_gzip
Stephen Pierzchala
mod_gzip@lists.over.net
Sun, 16 Mar 2003 20:56:25 -0800
Phil:
Just saying I prefer the DSO method -- much more flexible for me.
I have never tried to build it in static mode.
smp
phil wrote:
> hum and why not ? i prefer dont use the apache dso mode
>
> there is no way of making it without using the apache dso mode ? it's
> curious ...
>
> ----- Original Message -----
> From: "Stephen Pierzchala" <stephen@pierzchala.com>
> To: <mod_gzip@lists.over.net>
> Sent: Monday, March 17, 2003 4:37 AM
> Subject: Re: Antwort: [Mod_gzip] [compilation problem] apache&mod_gzip
>
>
>
>>Phil:
>>
>>Looks like you tried the base instructions. The question is: why are you
>>building it is statically?
>>
>>Try building it as a DSO -- that seems to work without fail.
>>
>>http://www.webcompression.org/mod_gzip-compile.html
>>
>>smp
>>
>>--
>>
>>****
>>
>>Stephen Pierzchala
>>stephen@pierzchala.com
>>http://www.pierzchala.com/
>>http://www.webcompression.org/
>>
>>phil wrote:
>>
>>>ok, this is the entire way i followed :
>>>
>>>cd mod_gzip-1.3.26.1a
>>>mkdir ../apache/src/modules/gzip
>>>cp *.c ../apache/src/modules/gzip/
>>>cp *.h ../apache/src/modules/gzip/
>>>cp *.tmpl ../apache/src/modules/gzip/
>>>
>>>cd apache
>>>./configure \
>>>--prefix=/var/www \
>>>--activate-module=src/modules/php4/libphp4.a \
>>>--activate-module=src/modules/gzip/mod_gzip.a \
>>>--enable-module=rewrite \
>>>--enable-module=ssl
>>>
>>>configure ok
>>>
>>>and the result of "make" in apache dir:
>>>
>>><=== src/modules/php4
>>>===> src/modules/gzip
>>>
>
> gcc -DMOD_SSL=208112 -I/home/phil/install/web/compilation/php -I/home/phil/
>
> install/web/compilation/php/main -I/home/phil/install/web/compilation/php/ma
>
> in -I/home/phil/install/web/compilation/php/Zend -I/home/phil/install/web/co
>
> mpilation/php/Zend -I/home/phil/install/web/compilation/php/TSRM -I/home/phi
>
> l/install/web/compilation/php/TSRM -I/home/phil/install/web/compilation/php
>
>>>-DEAPI -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED
>
> ../../apaci` -c
>
>>>mod_gzip.c
>>>mod_gzip.c:96: httpd.h: No such file or directory
>>>mod_gzip.c:97: http_config.h: No such file or directory
>>>mod_gzip.c:98: http_core.h: No such file or directory
>>>mod_gzip.c:99: http_log.h: No such file or directory
>>>mod_gzip.c:100: http_main.h: No such file or directory
>>>mod_gzip.c:101: http_protocol.h: No such file or directory
>>>mod_gzip.c:102: http_request.h: No such file or directory
>>>mod_gzip.c:103: util_script.h: No such file or directory
>>>*** Error code 1
>>>
>>>Stop in /home/phil/install/web/compilation/apache/src/modules/gzip.
>>>*** Error code 1
>>>
>>>Stop in /home/phil/install/web/compilation/apache/src/modules (line 64
>
> of
>
>>>Makefile).
>>>*** Error code 1
>>>
>>>Stop in /home/phil/install/web/compilation/apache/src (line 145 of
>>>Makefile).
>>>*** Error code 1
>>>
>>>Stop in /home/phil/install/web/compilation/apache (line 202 of
>
> ./Makefile).
>
>>>*** Error code 1
>>>
>>>Stop in /home/phil/install/web/compilation/apache (line 184 of
>
> Makefile).
>
>>>you know one way for make this to work ?
>>>
>>>----- Original Message -----
>>>From: <Michael.Schroepl@telekurs.de>
>>>To: <mod_gzip@lists.over.net>
>>>Sent: Friday, March 14, 2003 6:48 AM
>>>Subject: Antwort: [Mod_gzip] [compilation problem] apache&mod_gzip
>>>
>>>
>>>
>>>
>>>>Hi Phil,
>>>>
>>>>
>>>>
>>>>
>>>>>i have follow this install guide :
>>>>>http://www.schroepl.net/projekte/mod_gzip/install.htm
>>>>
>>>>nope. You seem to have tried two things at a time,
>>>>only one of which is covered by my description right now.
>>>>
>>>>Our "Makefile.tmpl" doesn't explicitly support the way
>>>>of building you want ... and I am not a Makefile expert
>>>>to fix this.
>>>>
>>>>
>>>>
>>>>>./configure \
>>>>>...
>>>>>--enable-shared=gzip \
>>>>
>>>>This line is the thing I didn't cover.
>>>>
>>>>I have never used "--enable-shared" ... a short glance
>>>>into the INSTALL description of Apache seems to tell me
>>>>that this one would make "configure" create a DSO for
>>>>this module, not embed it into the httpd binary (which
>>>>my description is about).
>>>>
>>>>What happens if you simply remove this line?
>>>>
>>>>Regards, Michael
>>>>
>>>>
>>>>_______________________________________________
>>>>mod_gzip mailing list
>>>>mod_gzip@lists.over.net
>>>>http://lists.over.net/mailman/listinfo/mod_gzip
>>>
>>>
>>>_______________________________________________
>>>mod_gzip mailing list
>>>mod_gzip@lists.over.net
>>>http://lists.over.net/mailman/listinfo/mod_gzip
>>>
>>>
>>>
>>
>>_______________________________________________
>>mod_gzip mailing list
>>mod_gzip@lists.over.net
>>http://lists.over.net/mailman/listinfo/mod_gzip
>
>
> _______________________________________________
> mod_gzip mailing list
> mod_gzip@lists.over.net
> http://lists.over.net/mailman/listinfo/mod_gzip
>
>
>
--
****
Stephen Pierzchala
stephen@pierzchala.com
http://www.pierzchala.com/
http://www.webcompression.org/