[Mod_gzip] Install problem....

Robin Darby mod_gzip@lists.over.net
Mon, 14 Jul 2003 14:04:10 +0100


Hi,
	Got a little install problem with mod_gzip, wonder if anyone can help 
me out?

Setup:
	Linux RedHat 8.0
	 Apache/1.3.27 Ben-SSL/1.48 (Unix) (Apache 1.2.27 with ApacheSSL  and 
OpenSSL 0.9.7)

Problem:
When i 'make' in the mod_gzip directory:
/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

The library its moaning ~ (ssl.h), does exist under 
/usr/local/ssl/include/openssl/ssl.h - do i need to change a path 
setting or something??

Thanks
     Robin...




This message has been scanned for viruses by MailControl - www.mailcontrol.com