[Mod-security-developers] Issue compiling "modsecurity-apache_2.6.4-rc1"
Brought to you by:
victorhora,
zimmerletw
|
From: J M <jer...@gm...> - 2012-02-27 14:29:35
|
Hi All,
I was trying to use 2.6.3 and thought that moving to 2.6.4 will help,
unfortunately I'm stuck with the same issue:
Configure:
./configure --with-apxs=/usr/local/
apache2/bin/apxs --with-apu=/usr/local/apache2/bin/apu-config
--with-apr=/usr/local/apache2/bin/apr-config
OS: Redhat 5 - 64bit
Apache 2.0.64
Error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -I/usr/local/apache2/include -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/include -I/usr/include/libxml2
-DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500
-DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -g -O2 -MT
mod_security2_la-msc_pcre.lo -MD -MP -MF
.deps/mod_security2_la-msc_pcre.Tpo -c msc_pcre.c -fPIC -DPIC -o
.libs/mod_security2_la-msc_pcre.o
msc_pcre.c: In function ‘msc_pregcomp_ex’:
msc_pcre.c:70: error: invalid application of ‘sizeof’ to incomplete type
‘pcre_extra’
msc_pcre.c:74: error: invalid application of ‘sizeof’ to incomplete type
‘pcre_extra’
make[2]: *** [mod_security2_la-msc_pcre.lo] Error 1
make[2]: Leaving directory
`/usr/local/src/modsecurity-apache_2.6.4-rc1/apache2'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/local/src/modsecurity-apache_2.6.4-rc1/apache2'
make: *** [all-recursive] Error 1
tia,
|