Yes, I did that as well..

below is a snapshot or the previous compile:

Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
checking for libpcre config script... /usr/local/bin/pcre-config
configure: using pcre v8.21
checking for libapr config script... /usr/local/apache2/bin/apr-config
configure: using apr v0.9.19
checking for libapu config script... /usr/local/apache2/bin/apu-config
configure: using apu v0.9.19
checking for libxml2 config script... /usr/bin/xml2-config
configure: using libxml2 v2.6.26

same 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




On Mon, Feb 27, 2012 at 9:54 AM, Ryan Barnett <RBarnett@trustwave.com> wrote:
Have to tried installing PCRE as a separate package and then pointing ModSecurity configure flags to it?

--
Ryan Barnett

From: J M <jerome.m@gmail.com>
Reply-To: "mod-security-developers@lists.sourceforge.net" <mod-security-developers@lists.sourceforge.net>
Date: Mon, 27 Feb 2012 08:29:24 -0600
To: "mod-security-developers@lists.sourceforge.net" <mod-security-developers@lists.sourceforge.net>
Subject: [Mod-security-developers] Issue compiling "modsecurity-apache_2.6.4-rc1"

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,


This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
mod-security-developers mailing list
mod-security-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-developers
ModSecurity Services from Trustwave's SpiderLabs:
https://www.trustwave.com/spiderLabs.php