[Oisf-users] Problems with pcre includes/libs

C. L. Martinez carlopmart at gmail.com
Thu Feb 27 09:06:41 UTC 2014


On Thu, Feb 27, 2014 at 8:49 AM, Victor Julien <lists at inliniac.net> wrote:
> 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.
>
> --

Thanks Victor. Works.



More information about the Oisf-users mailing list