[Oisf-users] Problems with pcre includes/libs

C. L. Martinez carlopmart at gmail.com
Thu Feb 27 08:07:05 UTC 2014


Hi all,

 I am trying to compile suricata 1.4.7 under a CentOS 6.5 x86_64 host
but exists some errors with pcre-devel package from upstream:

checking pcre.h usability... no
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 ...

configure options are:

./configure --prefix=/opt/suricata --enable-unix-socket
--enable-profiling --enable-geoip --enable-af-packet
--with-libpcap-includes=/opt/libpcap/include
--with-libpcap-libraries=/opt/libpcap/lib
--with-libnspr-includes=/usr/include/nspr4
--with-libnss-includes=/usr/include/nss3

and pcre packages are installed:

[root at cos01 suricata-1.4.7]# rpm -qa | grep pcre
pcre-devel-7.8-6.el6.x86_64
pcre-7.8-6.el6.x86_64

Any idea??


More information about the Oisf-users mailing list