httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Good Guy <xfs...@hotmail.com>
Subject [users@httpd] Re: Trouble upgrading to 2.2.29 from 2.2.8 - mod_deflate error
Date Fri, 31 Oct 2014 01:54:06 GMT
On 30/10/2014 19:10, Christopher Stanley wrote:
> Hey guys!
>
> I am having trouble upgrading from Apache 2.2.8 -> 2.2.29 with the 
> following error occurring after running 'make'
>
> /usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 
> -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
>  -I/opt/vignette/software/apache/srclib/pcre -I. 
> -I/opt/vignette/software/apache/os/unix 
> -I/opt/vignette/software/apache/server/mpm/prefork 
> -I/opt/vignette/software/apache/modules/http 
> -I/opt/vignette/software/apache/modules/filters 
> -I/opt/vignette/software/apache/modules/proxy 
> -I/opt/vignette/software/apache/include 
> -I/opt/vignette/software/apache/modules/generators 
> -I/opt/vignette/software/apache/modules/mappers 
> -I/opt/vignette/software/apache/modules/database 
> -I/usr/local/apache2/include 
> -I/opt/vignette/software/apache/modules/proxy/../generators 
> -I/usr/kerberos/include -I/opt/vignette/software/apache/modules/ssl 
> -I/opt/vignette/software/apache/modules/dav/main  -prefer-non-pic 
> -static -c mod_deflate.c && touch mod_deflate.lo
> mod_deflate.c: In function `deflate_out_filter':
> mod_deflate.c:790: error: `APR_INT32_MAX' undeclared (first use in 
> this function)
> mod_deflate.c:790: error: (Each undeclared identifier is reported only 
> once
> mod_deflate.c:790: error: for each function it appears in.)
> mod_deflate.c: In function `deflate_in_filter':
> mod_deflate.c:1165: error: `APR_INT32_MAX' undeclared (first use in 
> this function)
> mod_deflate.c: In function `inflate_out_filter':
> mod_deflate.c:1550: error: `APR_INT32_MAX' undeclared (first use in 
> this function)
> make[3]: *** [mod_deflate.lo] Error 1
> make[3]: Leaving directory 
> `/opt/vignette/software/httpd-2.2.29/modules/filters'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/opt/vignette/software/httpd-2.2.29/modules/filters'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/vignette/software/httpd-2.2.29/modules'
> make: *** [all-recursive] Error 1
>
> I am running RHEL4 (I know it's bad)
>
> Any help would be much appreciated!
>
> Thanks!


Not sure if you are on a windows system but in Windows it is simply a 
matter of downloading the compiled binaries and putting them in the 
Apache folder and using the same configuration file as in the 2.2.x 
version.  It worked for me and should work for most people.

After doing this you need to restart the server to load it again.





Mime
View raw message