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