On 12/02/2013 09:12 PM, David Lang wrote:
I don't know what liblogging is, but based on the context, I would try
doing

git clone git://git.adiscon.com/git/liblogging.git
cd liblogging
autoreconf -fvi
./configure --help
./configure
make
make install (or checkinstall)

It sounds like a library that Rainer may have made as part of his
refactoring of the rsyslog code base for v8, but since there isn't a lot
of documentation for v8 yet (since Rainer is concentrating on making it
work before documenting how to make it work), some guesswork is required
to build the v8 source

removed --enable-rfc3195 to get rid of liblogging problem (after some googling it seems liblogging is needed for RFC 3195 support), it seems that I don't need it,

        erik


If you are just trying to get the latest 7.5 source, you may want to do

git checkout -b origin/v7-devel

so that you are working with the latest v7.5.x source instead of the
experimental v8.x source.

David Lang


On Mon, 2 Dec 2013, Erik Steffl wrote:

Date: Mon, 02 Dec 2013 15:35:54 -0800
From: Erik Steffl <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: rsyslog-users <[email protected]>
Subject: [rsyslog] How to build rsyslog from source

Following

http://www.rsyslog.com/doc/build_from_repo.html
http://www.rsyslog.com/doc/install.html

but ran into few issues. This is on Ubuntu 13.10 (aka saucy).

Here's what's happening:

git clone git://git.adiscon.com/git/rsyslog.git
cd rsyslog
autoreconf -fvi

sudo apt-get install librelp-dev

./configure \
 --enable-debug \
 --enable-rtinst \
 --enable-debugless \
 --enable-valgrind \
 --enable-memcheck \
 --enable-diagtools \
 --enable-usertools \
 --enable-gnutls \
 --enable-mmjsonparse \
 --enable-mmcount \
 --enable-mmsequence \
 --enable-mmfields \
 --enable-mmpstrucdata \
 --enable-mmrfc5424addhmac \
 --enable-relp \
 --enable-rfc3195 \
 --enable-testbench \
 --enable-imfile \
 --enable-imptcp \
 --enable-imttcp \
 --enable-impstats \
 --enable-omstdout \
 --enable-pmrfc3164sd \
 --enable-omruleset \
 --enable-omuxsock

There were few missing packages that I resolved by either removing
them form list of enabled features (don't think I need
--enable-mmnormalize) or by installing librelp-dev (it was saying relp
package is missing)

Now stuck at missing package liblogging:

---------------- cut here ----------------
configure:19062: $PKG_CONFIG --exists --print-errors "liblogging >=
0.7.1"
Package liblogging was not found in the pkg-config search path.
Perhaps you should add the directory containing `liblogging.pc'
to the PKG_CONFIG_PATH environment variable
No package 'liblogging' found
configure:19065: $? = 1
configure:19079: result: no
No package 'liblogging' found
configure:19095: error: Package requirements (liblogging >= 0.7.1)
were not met:

No package 'liblogging' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBLOGGING_CFLAGS
and LIBLOGGING_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
---------------- cut here ----------------

What/where is this package? Tried:

 apt-file search liblogging.pc
 apt-file search liblogging.so
 http://ubuntu.adiscon.com/v7-devel/saucy/
 apt-cache search libloggin

But found nothing.

In another thread David Lang recommended looking at checkinstall but
can't find it (either file name or even it being mentioned anywhere in
the source tree I got from git). Any idea where to find it?

Any pointers where to look for Ubuntu package build setup or other
place where I could find list of dependencies?

Thanks!

    erik
_______________________________________________
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.

_______________________________________________
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