just a quick reply, more later.

this is kind of a "bug" in json-c: as the compiler says, it requires

-std=c99 or -std=gnu99


to be present in the CFLAGS. With newer gcc, that's no longer the case.

Rainer





On Tue, Aug 26, 2014 at 4:34 PM, Radu Gheorghe <[email protected]>
wrote:

> Hello,
>
> I found some thread on the mailing list that says rsyslog needs json-c 0.12
> or later. Is that right? I've just upgraded my openSUSE and I have 0.10.
> Previously I had 0.9. I can't compile json-c from the 0.12 release either.
>
> My actual problem is that I can't compile rsyslog with omelasticsearch
> support. As I upgraded json-c the error changed. I've also installed 0.12
> from some RPM I found for a completely different distribution. rpm was OK
> with it, but I'm not sure which one rsyslog will try to use. Either way,
> I'm pretty sure the problem is caused by json-c because:
> a) errors changed as I upgraded
> b) errors were always in functions that mentioned JSON :D
>
> My current error can be found here:
> https://gist.github.com/radu-gheorghe/796f900767679aacdf57
>
> I also have two additional questions:
> 1. Does anyone know how to get that recent json-c for a widely used distro
> (say CentOS or Ubuntu or...). Except for the latest Fedora :D
> 2. Isn't it a bug that configure didn't complain about my json-c version
> but I get errors during make?
>
> Or maybe I'm doing something else wrong?
>
> Thanks and best regards,
> Radu
> --
> Performance Monitoring * Log Analytics * Search Analytics
> Solr & Elasticsearch Support * http://sematext.com/
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to