[Lognorm] last call for next liblognorm release
Rainer Gerhards
rgerhards at hq.adiscon.com
Mon Mar 9 14:09:15 CET 2015
2015-03-09 13:59 GMT+01:00 Tomas Heinrich <theinric at redhat.com>:
> On 03/09/15 13:19, Rainer Gerhards wrote:
>
>> Just FYI: I have build problems on CENTOS 6. Will keep you updated.
>>
>
> Tried it myself on an updated el6 vm, looks like there are couple more
> bugs...
>
> First, for some reason (might be my vm is slightly broken), libestr.pc
> can't be found (might be related to this bz[0]). Defining the correct path
> helped:
> PKG_CONFIG_PATH=/lib64/pkgconfig:/usr/lib64/pkgconfig
>
Maybe a bug in libestr?
>
> Then, I've noticed json_bool is not found by configure. The bug is robably
> (not 100% sure) that an include is missing:
> -AC_CHECK_TYPE(json_bool,,,)
> +AC_CHECK_TYPE(json_bool,,,[#include <json.h>])
>
> Then the build still fails on type redefinition as HAVE_JSON_BOOL is not
> defined. This can be fixed by using a different macro:
> -AC_CHECK_TYPE(json_bool,,,[#include <json.h>])
> +AC_CHECK_TYPES(json_bool,,,[#include <json.h>])
>
>
I came to the same conclusion :-)
Then it finally compiles.
>
... but I also get some unexpected warnings, for which I did not yet find a
cure. It's about json_object_object_get being depricated [0].
This is (kind of;)) being checked for in configure.ac as well. I thought
the include file was missing here, too, but this definition doesn't make
any difference:
AC_CHECK_FUNCS(json_object_object_get_ex,,,[#include <json.h>])
Any idea?
Rainer
[0]
enc_syslog.c: En la función ‘ln_fmtEventToRFC5424’:
enc_syslog.c:186: aviso: ‘json_object_object_get’ es obsoleto (declarado en
/usr/include/json-c/json_object.h:271)
CC liblognorm_la-enc_csv.lo
enc_csv.c: En la función ‘ln_fmtEventToCSV’:
enc_csv.c:200: aviso: ‘json_object_object_get’ es obsoleto (declarado en
/usr/include/json-c/json_object.h:271)
CC liblognorm_la-enc_xml.lo
enc_xml.c: En la función ‘ln_fmtEventToXML’:
enc_xml.c:207: aviso: ‘json_object_object_get’ es obsoleto (declarado en
/usr/include/json-c/json_object.h:271)
CC liblognorm_la-json_compatibility.lo
CCLD liblognorm.la
CC lognormalizer-lognormalizer.o
lognormalizer.c: En la función ‘eventHasTag’:
lognormalizer.c:116: aviso: ‘json_object_object_get’ es obsoleto (declarado
en /usr/include/json-c/json_object.h:271)
lognormalizer.c: En la función ‘normalize’:
lognormalizer.c:156: aviso: ‘json_object_object_get’ es obsoleto (declarado
en /usr/include/json-c/json_object.h:271)
CCLD lognormalizer
> Tomas
>
> [0] 1158842 - json-c pkgconfig files installed in the wrong place
> https://bugzilla.redhat.com/show_bug.cgi?id=1158842
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.adiscon.net/pipermail/lognorm/attachments/20150309/c535c114/attachment.html>
More information about the Lognorm
mailing list