Difference: LibLogNorm (13 vs. 14)

Revision 142016-05-04 - ChampClark

Line: 1 to 1
 
META TOPICPARENT name="WebTopicList"

Line: 26 to 26
 

Compiling and installing liblognorm from the 'Github' tree.

Changed:
<
<
Liblognorm requires libjson-c be installed. More information about libjson-c can be found at: https://github.com/json-c/json-c

Operating System Command to install libjson-c
Gentoo emerge -av json-c
Ubuntu apt-get install libjson0 libjson0-dev
FreeBSD/OpenBSD Install from source
Fedora Core yum install json-c json-c-devel
CentOS Install from source
>
>
$ git clone https://github.com/rsyslog/libfastjson
$ cd libfastjson
$ ./autogen.sh
$ ./configure && make && sudo make install

[Note: Sagan & liblognorm no longer use libjson-c! liblognorm 1.1.3+ & Sagan 1.1.0+ use libfastjson]

  In order to install from the Github resource, open a terminal and enter these commands in this order:
Changed:
<
<
$ git clone https://github.com/rsyslog/libestr
$ cd libestr

Once in the "libestr" directory, do the following:


$ autoreconf -vfi
$ ./configure --libdir=/usr/lib --includedir=/usr/include
$ make
$ sudo make install
>
>
$ git clone https://github.com/rsyslog/libestr
$ cd libestr
$ autoreconf -vfi
$ ./configure
$ make && sudo make install
  Once libestr is installed, continue with liblognorm.
Changed:
<
<
$ git clone https://github.com/rsyslog/liblognorm/
$ cd liblognorm

In the liblognorm directory, do the following:

$ autoreconf -vfi
$ ./configure --libdir=/usr/lib --includedir=/usr/include --disable-docs
$ make
$ sudo make install

>
>
$ git clone https://github.com/rsyslog/liblognorm/
$ cd liblognorm
$ autoreconf -vfi
$ ./configure --disable-docs
$ make & sudo make install

 

Once you completed these steps, you can ./configure Sagan with liblognorm support. By re-running the Sagan ./configure, it'll detect that liblognorm is installed and use it.

Deleted:
<
<
-- ChampClark - 2014-06-21
 \ No newline at end of file
Added:
>
>
-- ChampClark - 2016-05-04
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback