[Mod_gzip] Fwd: Howto install??
Robin Darby
mod_gzip@lists.over.net
Mon, 14 Jul 2003 15:55:26 +0100
Ah great, but how do i install / complie the source?
I've downloaded the latest version, ran 'make' and got:
/usr/local/sbin/apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c
mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so
gcc -DLINUX=22 -DTARGET="httpsd" -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DAPACHE_SSL
-I/usr/local/apache/include -Wall,-O3,-fomit-frame-pointer,-pipe -c
mod_gzip.c
In file included from /usr/local/apache/include/httpd.h:79,
from mod_gzip.c:96:
/usr/local/apache/include/buff.h:75:26: openssl/ssl.h: No such file or
directory
/usr/local/apache/include/buff.h:78:3: #error "Don't use OpenSSL/SSLeay
versions less than 0.9.2b, they have a serious security problem!"
In file included from /usr/local/apache/include/httpd.h:79,
from mod_gzip.c:96:
/usr/local/apache/include/buff.h:152: parse error before "SSL"
/usr/local/apache/include/buff.h:152: warning: no semicolon at end of
struct or union
/usr/local/apache/include/buff.h:163: parse error before '}' token
mod_gzip.c: In function `mod_gzip_redir1_handler':
mod_gzip.c:4549: dereferencing pointer to incomplete type
mod_gzip.c:4740: dereferencing pointer to incomplete type
mod_gzip.c:4748: dereferencing pointer to incomplete type
mod_gzip.c:4779: dereferencing pointer to incomplete type
mod_gzip.c:4780: dereferencing pointer to incomplete type
mod_gzip.c: In function `mod_gzip_dyn1_getfdo1':
mod_gzip.c:5017: dereferencing pointer to incomplete type
mod_gzip.c: In function `mod_gzip_flush_and_update_counts':
mod_gzip.c:7142: dereferencing pointer to incomplete type
mod_gzip.c:7147: dereferencing pointer to incomplete type
apxs:Break: Command failed with rc=1
make: *** [build] Error 1
Which i fixed by adding a symlink in /usr/local/apache/include to
/usr/local/ssl/include/openssl. But now when i run make i get:
/usr/local/sbin/apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c
mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so
gcc -DLINUX=22 -DTARGET="httpsd" -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DAPACHE_SSL
-I/usr/local/apache/include -Wall,-O3,-fomit-frame-pointer,-pipe -c
mod_gzip.c
gcc -DLINUX=22 -DTARGET="httpsd" -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DAPACHE_SSL
-I/usr/local/apache/include -Wall,-O3,-fomit-frame-pointer,-pipe -c
mod_gzip_debug.c
gcc -DLINUX=22 -DTARGET="httpsd" -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DAPACHE_SSL
-I/usr/local/apache/include -Wall,-O3,-fomit-frame-pointer,-pipe -c
mod_gzip_compress.c
-o mod_gzip.so mod_gzip_compress.o mod_gzip_debug.o mod_gzip.o -o
mod_gzip.so
apxs:Break: Command failed with rc=16777215
make: *** [build] Error 1
Any ideas??
Thanks
Robin...
On Monday, July 14, 2003, at 3:37PM, Netforum.com.br - Gallery e-cards
wrote:
> # Original source by: Kevin Kiley <Kiley@RemoteCommunications.com>
> # Original Home: http://sourceforge.net/projects/mod-gzip/
> # Win32 port by: Guenter Knauf <info@gknw.de>
> # Home: http://www.gknw.de/development/apache/
> #
> # The following is only for a quick setup!
> #
>
> # Add to your httpd.conf
>
> LoadModule gzip_module modules/mod_gzip.so
>
> #
> # Configuration for mod_gzip
> <IfModule mod_gzip.c>
> # LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip:
> %{mod_gzip_compression_ratio}npct." common_with_mod_gzip_info1
> LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip: %{mod_gzip_result}n
> In:%{mod_gzip_input_size}n Out:%{mod_gzip_output_size}n
> Ratio:%{mod_gzip_compression_ratio}npct." common_with_mod_gzip_info2
> # LogFormat "%{mod_gzip_compression_ratio}npct." mod_gzip_info1
> # LogFormat "%{mod_gzip_result}n In:%{mod_gzip_input_size}n
> Out:%{mod_gzip_output_size}n Ratio:%{mod_gzip_compression_ratio}npct."
> mod_gzip_info2
> CustomLog logs/gzip.log common_with_mod_gzip_info2
> # CustomLog logs/gzip.log mod_gzip_info2
> mod_gzip_on Yes
> mod_gzip_item_include file \.htm$
> mod_gzip_item_include mime text/.*
> mod_gzip_item_exclude mime ^image/.*
> mod_gzip_temp_dir "/tmp"
> mod_gzip_command_version mod_gzip_version
> mod_gzip_dechunk yes
> # mod_gzip_keep_workfiles Yes
> </IfModule>
> # End of mod_gzip.
>
> Mike
[snip]
>
>
>> Can anyone give me a breif rundown on how to install mod_gzip??
>> I'm running Apache/1.3.27 Ben-SSL/1.48 with mod_perl 1.27 on redhat
>> 8.0.
>>
>> Thanks
>> Robin...
This message has been scanned for viruses by MailControl - www.mailcontrol.com