OS : CentOS release 5.10 (Final) openssl : 1.0.1h, 1.0.1i, install /usr/local/openssl configure : ./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --enable-ssl --with-ssl=/usr/local/openssl --enable-unique-id ............ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/openssl/include/openssl -I/root/archive/httpd-2.2.29/srclib/pcre -I. -I/root/archive/httpd-2.2.29/os/unix -I/root/archive/httpd-2.2.29/server/mpm/prefork -I/root/archive/httpd-2.2.29/modules/http -I/root/archive/httpd-2.2.29/modules/filters -I/root/archive/httpd-2.2.29/modules/proxy -I/root/archive/httpd-2.2.29/include -I/root/archive/httpd-2.2.29/modules/generators -I/root/archive/httpd-2.2.29/modules/mappers -I/root/archive/httpd-2.2.29/modules/database -I/usr/include/apr-1 -I/root/archive/httpd-2.2.29/modules/proxy/../generators -I/usr/local/openssl/include -I/root/archive/httpd-2.2.29/modules/ssl -I/root/archive/httpd-2.2.29/modules/dav/main -prefer-pic -c mod_deflate.c && touch mod_deflate.slo 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[4]: *** [mod_deflate.slo] Error 1 make[4]: Leaving directory `/root/archive/httpd-2.2.29/modules/filters' make[3]: *** [shared-build-recursive] Error 1 make[3]: Leaving directory `/root/archive/httpd-2.2.29/modules/filters' make[2]: *** [shared-build-recursive] Error 1 make[2]: Leaving directory `/root/archive/httpd-2.2.29/modules' make[1]: *** [shared-build-recursive] Error 1 make[1]: Leaving directory `/root/archive/httpd-2.2.29' make: *** [all-recursive] Error 1 [root@sms httpd-2.2.29]#
What is the version of the APR library you are using? APR_INT32_MAX was introduced in version 1.3. Could it be you are using 1.2 or older?
(In reply to Rainer Jung from comment #1) > What is the version of the APR library you are using? APR_INT32_MAX was > introduced in version 1.3. Could it be you are using 1.2 or older? CentOS based use. version : apr-1.2.7-11.el5_6.5
Thanks very much. I use APR 1.5.1, APR-UTIL 1.5.4 good work now. (In reply to Rainer Jung from comment #1) > What is the version of the APR library you are using? APR_INT32_MAX was > introduced in version 1.3. Could it be you are using 1.2 or older?