<div dir="ltr">I found the issue. In the instructions it says you need the following packages for Fedora<div><br></div><div style>nss-util</div><div style>nss-util-devel</div><div style>nspr</div><div style>nspr-util</div>
<div style><br></div><div style>What it doesn't mention is that you also need</div><div style>nss-devel</div><div style><br></div><div style>and my configure works now with libnss support being yes now. Here's the previous config log of my error but my command</div>
<div style><br></div><div style>./configure --with-libnspr-libraries=/usr/lib64 --with-libnss-libraries=/usr/lib64 --with-libnspr-includes=/usr/include/nspr4 --with-libnss-includes=/usr/include/nss3<br></div><div style><br>
</div><div style>works now.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 6:23 AM, Victor Julien <span dir="ltr"><<a href="mailto:lists@inliniac.net" target="_blank">lists@inliniac.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 02/27/2013 02:02 AM, Vincent Fang wrote:<br>
> Sorry for the spam, I should have been more thorough and included the<br>
> command I'm running for the configure on the Fedora Core 17 Suricata 1.4<br>
><br>
> ./configure --with-libnss-libraries=/usr/lib64<br>
> --with-libnspr-libraries=/usr/lib64<br>
> --with-libnss-includes=/usr/include/nss3<br>
> --with-libnspr-includes=/usr/include/nspr4<br>
><br>
> From what you stated Marcos I don't think I'm missing anything in terms<br>
> of parameters and options.<br>
<br>
</div>On F17_64 I did:<br>
<br>
./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/<br>
--disable-gccmarch-native --with-libnss-libraries=/usr/lib64<br>
--with-libnspr-libraries=/usr/lib64<br>
--with-libnss-includes=/usr/include/nss3<br>
--with-libnspr-includes=/usr/include/nspr4 && make clean && make<br>
<br>
checking nspr.h usability... yes<br>
checking nspr.h presence... yes<br>
checking for nspr.h... yes<br>
checking for PR_GetCurrentThread in -lnspr4... yes<br>
checking sechash.h usability... yes<br>
checking sechash.h presence... yes<br>
checking for sechash.h... yes<br>
checking for HASH_Begin in -lnss3... yes<br>
<div class="im"><br>
  libnss support:                          yes<br>
  libnspr support:                         yes<br>
<br>
</div>configure is happy.<br>
<br>
Suri too:<br>
This is Suricata version 1.4dev (rev ff2b800)<br>
Features: PCAP_SET_BUFF LIBPCAP_VERSION_MAJOR=1 AF_PACKET<br>
HAVE_PACKET_FANOUT LIBCAP_NG HAVE_HTP_URI_NORMALIZE_HOOK<br>
HAVE_HTP_TX_GET_RESPONSE_HEADERS_RAW PCRE_JIT *HAVE_NSS*<br>
<br>
Please attach your config.log if you continue to have issues with this.<br>
<br>
Cheers,<br>
Victor<br>
<div class="im"><br>
><br>
> On Tue, Feb 26, 2013 at 8:00 PM, Vincent Fang <<a href="mailto:vincent.y.fang@gmail.com">vincent.y.fang@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:vincent.y.fang@gmail.com">vincent.y.fang@gmail.com</a>>> wrote:<br>
><br>
>     Thanks guys for your input and responses. Marcos, I'm noticing in<br>
>     your ./configure you're not including the --with-libnspr-libraries<br>
>     and --with-libnss-libraries and it still works for you with the MD5<br>
>     hashing when Suricata does file extractions and puts the MD5 has in<br>
>     the meta files?<br>
><br>
><br>
>     On Tue, Feb 26, 2013 at 7:27 PM, Marcos Rodriguez<br>
</div>>     <<a href="mailto:marcos.e.rodriguez@gmail.com">marcos.e.rodriguez@gmail.com</a> <mailto:<a href="mailto:marcos.e.rodriguez@gmail.com">marcos.e.rodriguez@gmail.com</a>>><br>
<div class="im">>     wrote:<br>
><br>
>         Very interesting, guys.  I'm on FC16 x86_64, and am not seeing<br>
>         that with the latest git:<br>
><br>
>         Here's my configure line:<br>
><br>
>         ./configure --prefix=`pwd` --enable-unittests --enable-af-packet<br>
>         --with-libnspr-includes=/usr/include/nspr4<br>
>         --with-libnss-includes=/usr/include/nss3 --with-luajit<br>
>         --enable-nfqueue<br>
><br>
><br>
>         libnss support:                          yes<br>
>         libnspr support:                         yes<br>
><br>
><br>
>         Same results with latest released suricata-1.4:<br>
><br>
>         libnss support:                          yes<br>
>         libnspr support:                         yes<br>
><br>
><br>
>         I can spin up my FC17 quickly and see if anything changes.  Let<br>
>         you know shortly.<br>
><br>
><br>
><br>
><br>
><br>
</div><div class="im">> _______________________________________________<br>
> Suricata IDS Users mailing list: <a href="mailto:oisf-users@openinfosecfoundation.org">oisf-users@openinfosecfoundation.org</a><br>
> Site: <a href="http://suricata-ids.org" target="_blank">http://suricata-ids.org</a> | Support: <a href="http://suricata-ids.org/support/" target="_blank">http://suricata-ids.org/support/</a><br>
> List: <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users" target="_blank">https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users</a><br>
> OISF: <a href="http://www.openinfosecfoundation.org/" target="_blank">http://www.openinfosecfoundation.org/</a><br>
><br>
<br>
<br>
--<br>
</div>---------------------------------------------<br>
Victor Julien<br>
<a href="http://www.inliniac.net/" target="_blank">http://www.inliniac.net/</a><br>
PGP: <a href="http://www.inliniac.net/victorjulien.asc" target="_blank">http://www.inliniac.net/victorjulien.asc</a><br>
---------------------------------------------<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Suricata IDS Users mailing list: <a href="mailto:oisf-users@openinfosecfoundation.org">oisf-users@openinfosecfoundation.org</a><br>
Site: <a href="http://suricata-ids.org" target="_blank">http://suricata-ids.org</a> | Support: <a href="http://suricata-ids.org/support/" target="_blank">http://suricata-ids.org/support/</a><br>
List: <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users" target="_blank">https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users</a><br>
OISF: <a href="http://www.openinfosecfoundation.org/" target="_blank">http://www.openinfosecfoundation.org/</a><br>
</div></div></blockquote></div><br></div>