[Oisf-users] Problems compiling suricata 1.3 under CentOS 6.3

Victor Julien victor at inliniac.net
Wed Jul 11 06:20:41 EDT 2012


On 07/11/2012 12:01 PM, C. L. Martinez wrote:
> Hi all,
> 
>  I am trying to compile suricata under CentOS 6.3 kvm guest for
> testing, but configure returns me this error:
> 
> checking pcre.h presence... yes
> configure: WARNING: pcre.h: present but cannot be compiled
> configure: WARNING: pcre.h:     check for missing prerequisite headers?
> configure: WARNING: pcre.h: see the Autoconf documentation
> configure: WARNING: pcre.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: pcre.h: proceeding with the compiler's result
> checking for pcre.h... no
> configure: error: pcre.h not found ...
> 
> pcre-devel package is installed and I have tried to configure using
> --disable-gcc-march-native switch without luck. Where is the problem??

Please try --disable-gccmarch-native instead.

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------





More information about the Oisf-users mailing list