[Lognorm] last call for next liblognorm release
Tomas Heinrich
theinric at redhat.com
Mon Mar 9 13:59:38 CET 2015
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
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>])
Then it finally compiles.
Tomas
[0] 1158842 - json-c pkgconfig files installed in the wrong place
https://bugzilla.redhat.com/show_bug.cgi?id=1158842
More information about the Lognorm
mailing list