Just to confirm: it worked for me. Thanks a million!

--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/

On Wed, Sep 24, 2014 at 9:46 PM, Radu Gheorghe <[email protected]>
wrote:

> Wow, that's great news, thanks a lot! I have OpenSUSE 13.1 on my laptop
> and I noticed some time ago that I couldn't build rsyslog due to some
> json-c errors. At the time, I couldn't report the full details - feeling a
> little guilty for not reporting - but it's nice to know that it works again
> :)
>
> --
> Performance Monitoring * Log Analytics * Search Analytics
> Solr & Elasticsearch Support * http://sematext.com/
>
> On Wed, Sep 24, 2014 at 6:24 PM, <[email protected]> wrote:
>
>> Just to close an offlist conversation I've had, and to confirm latest
>> rsyslog/head + json-c/head (api v0.12) 'buildability', fyi ...
>>
>> On
>>
>>         lsb_release -rd
>>                 Description:    openSUSE 13.1 (Bottle) (x86_64)
>>                 Release:        13.1
>>
>> with the following local prereqs built/installed locally,
>>
>>         cd json-c
>>         git log | head
>>                         commit ec4879ac5b502ae81f6b73450b960ede11ad2560
>>                         Merge: 6ec6fda 37f5d86
>>                         Author: Eric Haszlakiewicz <[email protected]>
>>                         Date:   Sat Sep 13 22:18:51 2014 -0400
>>
>>                             Merge pull request #153 from LeSpocky/doc
>>
>>                             improve doc for json_object_to_json_string()
>>
>>                         commit 6ec6fdaf8c89dc78d2c0f1a3482a93195de110e3
>>
>>         wget
>> http://libestr.adiscon.com/files/download/libestr-0.1.9.tar.gz
>>         wget
>> http://www.liblognorm.com/files/download/liblognorm-1.0.1.tar.gz
>>         wget http://download.rsyslog.com/librelp/librelp-1.2.7.tar.gz
>>         wget
>> http://www.libee.org/download/files/download/libee-0.4.1.tar.gz
>>         wget
>> http://download.rsyslog.com/liblogging/liblogging-1.0.4.tar.gz
>>
>> Checking out latest rsyslog/head
>>
>>         cd rsyslog
>>         git log | head
>>                 commit 29169a3315c94c79ac806898de5d2464ead82e63
>>                 Merge: a2fec66 35cedde
>>                 Author: Rainer Gerhards <[email protected]>
>>                 Date:   Tue Sep 23 18:40:40 2014 +0200
>>
>>                     Merge branch 'v8-stable'
>>
>>                 commit 35ceddef9b18964dc0c70bcba647be0e524c0298
>>                 Merge: a42d761 e875a53
>>                 Author: Rainer Gerhards <[email protected]>
>>
>> and building, with ENV manually set to rpath local libs
>>
>>         unset CFLAGS CXXFLAGS CPPFLAGS
>>         export CPPFLAGS="-I/usr/local/src/rsyslog/grammar"
>>         export JSON_C_CFLAGS="-I/usr/local/include/json-c"
>>         export JSON_C_LIBS="-L/usr/local/lib64
>> -Wl,-rpath,/usr/local/lib64 -ljson-c"
>>         export LIBESTR_CFLAGS="-I/usr/local/include"
>>         export LIBESTR_LIBS="-L/usr/local/lib64
>> -Wl,-rpath,/usr/local/lib64 -lestr"
>>         export LIBLOGGING_STDLOG_CFLAGS="-I/usr/local/include"
>>         export LIBLOGGING_STDLOG_LIBS="-L/usr/local/lib64
>> -Wl,-rpath,/usr/local/lib64 -llogging-stdlog"
>>         export LIBLOGNORM_CFLAGS="-I/usr/local/include"
>>         export LIBLOGNORM_LIBS="-L/usr/local/lib64
>> -Wl,-rpath,/usr/local/lib64 -llognorm"
>>         export RELP_CFLAGS="-I/usr/local/include"
>>         export RELP_LIBS="-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64
>> -lrelp"
>>         ./autogen.sh
>>         ./configure --prefix=/usr/local/rsyslog-test ...
>>
>> now builds & installs successfully, with various WARNINGS -- but no ERRORS
>>
>> The resultant binary
>>
>>         /usr/local/rsyslog-test/sbin/rsyslogd -v
>>         rsyslogd 8.5.0, compiled with:
>>                 FEATURE_REGEXP:                         Yes
>>                 GSSAPI Kerberos 5 support:              No
>>                 FEATURE_DEBUG (debug build, slow code): No
>>                 32bit Atomic operations supported:      Yes
>>                 64bit Atomic operations supported:      Yes
>>                 memory allocator:                       system default
>>                 Runtime Instrumentation (slow code):    No
>>                 uuid support:                           Yes
>>                 Number of Bits in RainerScript integers: 64
>>
>> is linked correctly to local prereq libs
>>
>>         ldd /usr/local/rsyslog-test/sbin/rsyslogd | grep local
>>                 libestr.so.0 => /usr/local/lib64/libestr.so.0
>> (0x00007f539d135000)
>>                 liblogging-stdlog.so.0 =>
>> /usr/local/lib64/liblogging-stdlog.so.0 (0x00007f539cd2b000)
>>                 libjson-c.so.2 => /usr/local/lib64/libjson-c.so.2
>> (0x00007f539cb1f000)
>>
>> and executes with no error
>>
>>         ps ax | grep syslog
>>                 (empty)
>>
>>         /usr/local/rsyslog-test/sbin/rsyslogd
>>         ps ax | grep syslog
>>                 23661 ?        Ssl    0:00
>> /usr/local/rsyslog-test/sbin/rsyslogd
>>
>> and logging works correctly
>> _______________________________________________
>> 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