You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Good Guy <xf...@hotmail.com> on 2014/10/31 02:54:06 UTC

[users@httpd] Re: Trouble upgrading to 2.2.29 from 2.2.8 - mod_deflate error

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.





Re: [users@httpd] Re: Trouble upgrading to 2.2.29 from 2.2.8 - mod_deflate error

Posted by Edgar Pettijohn <ed...@pettijohn.no-ip.biz>.
On 10/30/2014 08:54 PM, Good Guy wrote:
> 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
I'm sure he's not since he came out and said it was RHEL4.
> 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.
>
>
>
>