On 11/20/2013 03:14 AM, Rainer Gerhards wrote:
On Tue, Nov 19, 2013 at 10:20 PM, Erik Steffl <[email protected]> wrote:

On 11/19/2013 05:45 AM, Rainer Gerhards wrote:

OK, I am slowly catching up and can most probably look into this problem
now.

Erik, I think I need to create an instrumented version in any case so that
we can get a bit more insight. Are you able to deploy such a version from
git or source tarball? Also, I will need at least a partial debug log,
from


   yeah, either one of those would work, it's just that last time I tried
it I had hard time finding what the build dependencies are, is there any
list somewhere? I assume there is since you are able to build ubuntu
packages, but didn't find it in git repo.


probably Andre can step in here. It depends a bit on the modules you use,
but shouldn't be too hard.

./configure

will tell you what is missing.

  trying to do that but it's a bit challenging:

checking for RELP... no
configure: error: Package requirements (relp >= 1.2.0) were not met:

No package 'relp' 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 RELP_CFLAGS
and RELP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

configure is using pkg-config to figure out which packages where installed however librelp0 package does not install relp.pc file that pkg-config could use to figure out that it was installed:

erik@yummly-ubuntu-erik-gazelle:~$ dpkg -L librelp0
/.
/usr
/usr/lib
/usr/lib/librelp.so.0.0.0
/usr/share
/usr/share/doc
/usr/share/doc/librelp0
/usr/share/doc/librelp0/changelog.Debian.gz
/usr/share/doc/librelp0/AUTHORS
/usr/share/doc/librelp0/changelog.gz
/usr/share/doc/librelp0/copyright
/usr/lib/librelp.so.0
erik@yummly-ubuntu-erik-gazelle:~$

given that both librelp and rsyslog are created for the same project it would be great if they worked together when building rsyslog.

I think I can set RELP_LIBS (to wherever librelp.so* files are) but not sure how to figure out RELP_CFLAGS (or if it's even important).

This same problem exists with other packages but some of them I just commented out (like libnorm which I think I don't need).

   the next challenge how to install what I've built, if you tell me which
files are relevant (just rsyslogd executable? or relp libs?) I could copy
them over to the right directories...


make install

that is not very useful since I cannot undo it so can't switch back and forth between different tests.

will take care of that

But maybe we can create a .deb (what Distro/version do you need) without
too much effort, so I could just mail you the packages. Need to check.

  Ubuntu saucy packages would be helpful,

        erik

  before things go wrong up until the situation recovers. If the debug log
get's to large, "debug on demand" (turn on via signal) will probably be
helpful.

Could you assist with these things?


   I guess, I'll try to get the debug log, but somehow last night my script
that does just short bursts of log messages stopped causing the problem.
Seems there is something else that also has impact on this, not sure what
since nothing else changed... anyway, will try to get the debug output...


OK, as usual when you troubleshoot ;)

Rainer
_______________________________________________
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