[Oisf-users] Suricata 2.0.1 complaining about pcre.h on Mac OS 10.9.2

Victor Julien lists at inliniac.net
Thu May 29 06:56:20 UTC 2014


On 05/28/2014 07:34 PM, Harley H wrote:
> Yep, here you go.

Can you try passing clang as the compiler directly?
CC=clang ./configure

It looks like even though your gcc binary is actually clang as well, the
suricata configure script may mess something up.

Cheers,
Victor

> 
> 
> On Wed, May 28, 2014 at 1:05 PM, Victor Julien <lists at inliniac.net
> <mailto:lists at inliniac.net>> wrote:
> 
>     On 05/28/2014 07:02 PM, Harley H wrote:
>     > I tried that and still no success.
> 
>     Can you attach the config.log?
> 
>     >
>     > On Wed, May 28, 2014 at 1:00 PM, Victor Julien <lists at inliniac.net
>     <mailto:lists at inliniac.net>
>     > <mailto:lists at inliniac.net <mailto:lists at inliniac.net>>> wrote:
>     >
>     >     On 05/28/2014 06:41 PM, Harley H wrote:
>     >     > Hello,
>     >     >  I'm trying to compile the latest version of Suricata on Mac
>     OS 10.9.2
>     >     > but am getting the following error when running ./configure:
>     >     >
>     >     > 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 ...
>     >     >
>     >     >
>     >     > I've recompiled pcre 8.35 with --enable-jit --enable-utf8
>     >     > --enable-unicode-properties per this
>     >     > thread
>     >    
>     https://lists.openinfosecfoundation.org/pipermail/oisf-users/2012-January/001246.html
>     >     > to no avail. Anyone have any suggestions?
>     >
>     >     Can you try adding --disable-gccmarch-native to suricata's
>     configure
>     >     line?
>     >
>     >     --
>     >     ---------------------------------------------
>     >     Victor Julien
>     >     http://www.inliniac.net/
>     >     PGP: http://www.inliniac.net/victorjulien.asc
>     >     ---------------------------------------------
>     >
>     >     _______________________________________________
>     >     Suricata IDS Users mailing list:
>     >     oisf-users at openinfosecfoundation.org
>     <mailto:oisf-users at openinfosecfoundation.org>
>     >     <mailto:oisf-users at openinfosecfoundation.org
>     <mailto:oisf-users at openinfosecfoundation.org>>
>     >     Site: http://suricata-ids.org | Support:
>     >     http://suricata-ids.org/support/
>     >     List:
>     >    
>     https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
>     >     OISF: http://www.openinfosecfoundation.org/
>     >
>     >
> 
> 
>     --
>     ---------------------------------------------
>     Victor Julien
>     http://www.inliniac.net/
>     PGP: http://www.inliniac.net/victorjulien.asc
>     ---------------------------------------------
> 
>     _______________________________________________
>     Suricata IDS Users mailing list:
>     oisf-users at openinfosecfoundation.org
>     <mailto:oisf-users at openinfosecfoundation.org>
>     Site: http://suricata-ids.org | Support:
>     http://suricata-ids.org/support/
>     List:
>     https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
>     OISF: http://www.openinfosecfoundation.org/
> 
> 


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




More information about the Oisf-users mailing list