Thursday, April 3, 2014

LibLogging 1.0.4 released

liblogging 1.0.4 [download]

We have released liblogging 1.0.4.

This release has lower build system requirements to autoconf, introduces a configuration switch to turn of man page handling and fixes some build problems on some platforms.

sha256sum: aceb5d2aa8bdc771ff66f407f9adf4176b654db63e34a8605795b68be537b81c

----------------------------------------------------------------------------
v1.0.4 2014-04-03
- fix build problems on some platforms (namely RHEL/CENTOS 5)
- add --disable-man pages ./configure option
  This permits to totally turn off man page handling. This is useful for
  platforms like RHEL/CENTOS 5 where rst2man is hard to get when building
  from git is desired.
- lower build system requirements to autoconf 2.59
  This permits building on RHEL/CENTOs 5 with stock autotools.

3 comments:

  1. This version stills finding for "libsystemd-journal.pc" when the option "--enable-journal" is passed to the configure script. From system-209 the default behaviour is merging the libraries into single libsystemd(.pc) files, so there is no more "libsystemd-journal.pc" but a "libsystemd.pc" instead.
    Those old files are installed only if you pass the "--enable-compat-libs" to the systemd configure script, but that option is disabled by default.
    I suggest to fix this problem changing your configure script to find for "libsystemd.pc" instead of "libsystemd-journal.pc".
    Is it possible to see this fix in the next release?

    ReplyDelete
    Replies
    1. Thanks for the comment, I track it now with a github tracker:

      https://github.com/rsyslog/liblogging/issues/17

      It's definitely something we are interested in to support.

      Delete
  2. Hi I'm sorry is this isn't the appropriate way to expose an error: I'm trying to compile liblogging-1.0.4 on Solaris 10 X86 and have this issue:
    gmake[2]: Entering directory `/var/tmp/liblogging-1.0.4/rfc3195/src'
    CC liblogging_rfc3195_la-oscalls.lo
    In file included from oscalls.c:59:
    oscallsUnix.c: In function `getCurrTime':
    oscallsUnix.c:80: error: structure has no member named `tm_gmtoff'
    --
    My first approach was removing pesky "^M" chars with dos2unix command; so I guess my problem is that ifdef SROS_Solaris isn't honored since the error came from this segment:
    #ifdef SROS_Solaris
    /* Solaris uses a different method of exporting the time zone.
    * It is UTC - localtime, which is opposite sign of min east of GMT.
    */
    lBias = -(daylight ? altzone : timezone);
    #else
    lBias = tm->tm_gmtoff;
    #endif
    Can you help or shred some light to acomplish my task.?
    Thanks a lot!

    ReplyDelete