I'm trying to compile the latest git version of Suricata on a powerpc based appliance today. Previous versions have been successful but 1.1.1 and beyond are producing the following.<br><br>./configure  and all ./configure --with-libpcre-libraries= --with-libpcre-includes= options I've tried also produce the same:<br>
<br>-- <br>checking host os... installation for powerpc-unknown-linux-gnu OS... \cok<br>checking pcre.h usability... no<br>checking pcre.h presence... yes<br>configure: WARNING: pcre.h: present but cannot be compiled<br>configure: WARNING: pcre.h:     check for missing prerequisite headers?<br>
configure: WARNING: pcre.h: see the Autoconf documentation<br>configure: WARNING: pcre.h:     section "Present But Cannot Be Compiled"<br>configure: WARNING: pcre.h: proceeding with the preprocessor's result<br>
configure: WARNING: pcre.h: in the future, the compiler will take precedence<br>checking for pcre.h... yes<br>checking for pcre_get_substring in -lpcre... no<br><br>   ERROR!  pcre library not found, go get it<br>   from <a href="http://www.pcre.org">www.pcre.org</a>.<br>
---<br><br>libpcre is present:<br><br>whereis libpcre<br>libpcre: /usr/lib/libpcre.so /usr/local/lib/<a href="http://libpcre.la">libpcre.la</a> /usr/local/lib/libpcre.so /usr/local/lib/libpcre.a<br><br>pcre.h is present:<br>
whereis pcre.h<br>pcre: /usr/include/pcre.h /usr/share/man/man3/pcre.3.gz<br><br>compiled pcre from scratch and ran suricata ./configure --with-libpcre-libraries=/opt/pcre-8.20-RC3/lib/ --with-libpcre-includes=/opt/pcre-8.20-RC3/include/ where then produces the exact same error.<br>
<br>any suggestions,<br><br>josh<br>