[Oisf-users] Problems with pcre includes/libs
Victor Julien
lists at inliniac.net
Thu Feb 27 08:49:56 UTC 2014
On 02/27/2014 09:07 AM, C. L. Martinez wrote:
> 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??
I bet this is a VM. If so, add --disable-gccmarch-native to your
configure line.
--
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------
More information about the Oisf-users
mailing list