<html><head></head><body>On last thing. I have Sagan now using the new API and I really like it! Nicely done!<br><br><div class="gmail_quote">Champ Clark III <cclark@quadrantsec.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">-----BEGIN PGP SIGNED MESSAGE-----<br />Hash: SHA1<br /><br />A Sagan user brought this up on the sagan-users mailing list as well.<br />Here's how I resolved it in Sagan:<br /><br />In my <a href="http://configure.ac">configure.ac</a><br /><br />- --<snip>--<br /><br /># Check multiple locations for json-c headers<br /><br />AC_CHECK_HEADERS([json/json.h json.h], [break], [AC_MSG_ERROR([json-c<br />headers not found or not usable])])<br /><br /># Check multple names of json-c libraries.<br /><br />AC_CHECK_LIB(json, main,, [ AC_CHECK_LIB(json-c,<br />main,,AC_MSG_ERROR(The json library cannot be found. This library is<br />important for the correlation aspects of Sagan! Please see<br /><a href="https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm">https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm</a>. To disable this<br />feature use the --disable lognorm flag.)) ],)<br /><br />- --<snip>--<br /><br />In my source (sagan-liblognorm.c), I
added:<br /><br />- --<snip>--<br /><br />#if defined(HAVE_JSON_JSON_H)<br /># include <json/json.h><br />#else<br /># include <json.h><br />#endif<br /><br />- --<snip>--<br /><br />It should resolve the issue building on Gentoo, Fedora 19, etc).<br /><br />Hope this helps.<br /><br /><br /><br />On 12/2/13, 2:52 PM, Champ Clark III wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Just started working with Sagan and liblognorm 1.0.0. I've cleaned<br />my dev box off all old versions of libee, libestr and liblognorm.<br />Then rebuilt from git using my normal process.<br /><br />It appears that liblognorm.h is trying to call:<br /><br />#include <json.h><br /><br />My json-c is located in the /usr/include/json/json.h<br /><br />Easy fix manually, but just thought you might want to know.</blockquote><br /><br /><br /><br /><br />- -- <br />- - Champ Clark I!
II
(cclark@quadrantsec.com)<br />Quadrant Information Security (<a href="http://quadrantsec.com">http://quadrantsec.com</a>)<br />Key Fingerprint: 2E56 C2EB 1B25 C517 D5BA 2DCF 5E70 B2F8 0381 878A<br />GPG Key ID: 0381878A<br />-----BEGIN PGP SIGNATURE-----<br />Version: GnuPG/MacGPG2 v2.0.17 (Darwin)<br />Comment: GPGTools - <a href="http://gpgtools.org">http://gpgtools.org</a><br />Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net">http://www.enigmail.net</a>/<br /><br />iQEcBAEBAgAGBQJSoivVAAoJENnmXt7Lmc3KheYH/RcoSbFfQIfuIXvzebLOVe9T<br />Py6SgnP2HUVFBGhzBjg3eH9cV0YRlObzZSggJ9KLl/D+sydXcmTIWaJDGOFGZfwH<br />UP3yytujn18pMzCMEP1YvA+793gG/wTKcIotWM2lXTuF7/AMkdvVLjAHqj1jYjYT<br />MTohhXDelGxJv8kmOUof9Ik1X6oIePvAq2R0HMwRdbU/4PQbscN6lWucFg1mcNgb<br />Ad77vcmVfZerQlzbEkw4xilIDnCmealoFZONzWvT5OEn+BY+qwAvivAdlmSYQdj8<br />YKHVUNkL8w74kvAve6ayb4P2c2Tya95a5iisMEkFxCb7gLVz3di2uVfC/jaUE7A=<br />=To8v<br />-----END PGP SIGNATURE-----<br /><hr /><br />Lognorm mailing!
list<br
/>Lognorm@lists.adiscon.com<br /><a href="http://lists.adiscon.net/mailman/listinfo/lognorm">http://lists.adiscon.net/mailman/listinfo/lognorm</a><br /></pre></blockquote></div><br>
-- <br>
Quadrant Information Security<br>
800.538.9357</body></html>