compiling rsyslog 3.20 on RHEL5

Everything related with getting rsyslog up and running (but not beyond that point ;))

Moderator: rgerhards

compiling rsyslog 3.20 on RHEL5

Postby LRH190 » Mon Jan 19, 2009 8:17 am

Hi,

i try to build an rsyslog RPM for my RHEL5.2 installations.
Unfortunately i can not get rfc3195d to compile.

If i go with --enable-rfc3195 on configure i get the error:

checking for LIBLOGGING... configure: error: in `/usr/src/rsyslog-3.20.2':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

But pkg-config is installed as /usr/bin/pkg-config (Version 0.21).

If i set PKG_CONFIG i get

checking for LIBLOGGING... configure: error: Package requirements (liblogging >= 0.7.1) were not met:
No package 'liblogging' found

But liblogging 0.7.1 is installed in /usr/lib
-rw-r--r-- 1 root root 772658 16. Jan 10:10 /usr/lib/liblogging.a
-rwxr-xr-x 1 root root 824 16. Jan 10:10 /usr/lib/liblogging.la
lrwxrwxrwx 1 root root 19 16. Jan 10:10 /usr/lib/liblogging.so -> liblogging.so.0.0.0
lrwxrwxrwx 1 root root 19 16. Jan 10:10 /usr/lib/liblogging.so.0 -> liblogging.so.0.0.0
-rwxr-xr-x 1 root root 353237 16. Jan 10:10 /usr/lib/liblogging.so.0.0.0

I tried also with rsyslog-4.1.3 which gave me exactly the same error.

Can anyone help me with problem ?

regards
LRH190
LRH190
New
 
Posts: 2
Joined: Fri Jan 16, 2009 10:21 am

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: compiling rsyslog 3.20 on RHEL5

Postby rgerhards » Mon Jan 19, 2009 8:20 am

Well, this is related by what the message says: most probably the pkgconfig package is too old (I've seen this on several occasions). The question, I think, is if RFC 3195 is really worth the effort: nobody uses it in practice and there is very little out there that rsyslog could receive messages from. Please note that this is the reason why I dropped the rfc 3195 sender: no demand at all, time better spent on other things...

I guess, however, you'll run into the same issue with RELP, because the check for librelp is also done via pckconfig. I don't have a solution other than (somehow...) upgrading pkgconfig.

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: compiling rsyslog 3.20 on RHEL5

Postby rgerhards » Mon Jan 19, 2009 8:22 am

And I forgot to mention: you may want to post the question to the rsyslog mailing list. Much of the autotools setup is contributed from Michael Biebl (as are the pkgconfig parts) and he follows the mailing list but not necessarily the forum.

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: compiling rsyslog 3.20 on RHEL5

Postby joe.hidden » Mon Jan 19, 2009 11:28 am

might i be you ar 64-bit? some problems arrise since 64 RHEL does in certain circumstands only install 32-bit devel files when yum-ing them in. you might want to check this too.
joe.hidden
Avarage
 
Posts: 13
Joined: Thu Jan 15, 2009 10:35 am

Re: compiling rsyslog 3.20 on RHEL5

Postby LRH190 » Wed Jan 21, 2009 10:20 am

Yes - you are right. This is a 64bit installation of RHEL.
I thought i had always yum'ed XXX-devel.x86_64 packets, but i will check this again.
Thanks.
In the meantime i build an rsyslog-3.20.2 RPM without --enable-rfc3195.
LRH190
New
 
Posts: 2
Joined: Fri Jan 16, 2009 10:21 am

Re: compiling rsyslog 3.20 on RHEL5

Postby iamnotafanofgravel » Tue Jul 07, 2009 5:00 pm

I found some instructions for making my own rpm.
http://telinit0.blogspot.com/2009/04/pa ... o-yum.html
I think i have 3.22.1 running now. I am pretty sure I have messed everything up by trying so many different things along the way. I was able to make these rpms and bring them to another machine and install it there.
You will have to modify the instructions a bit, but I thought I would share as I found this helpful.
iamnotafanofgravel
Avarage
 
Posts: 12
Joined: Thu Jul 02, 2009 4:13 pm

Re: compiling rsyslog 3.20 on RHEL5

Postby iamnotafanofgravel » Wed Jul 08, 2009 4:15 pm

Sorry for my previous post. It was in the wrong thread.
iamnotafanofgravel
Avarage
 
Posts: 12
Joined: Thu Jul 02, 2009 4:13 pm

Re: compiling rsyslog 3.20 on RHEL5

Postby satishbhawra41 » Wed Sep 30, 2009 7:35 pm

The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
satishbhawra41
New
 
Posts: 3
Joined: Wed Sep 30, 2009 7:27 pm

Re: compiling rsyslog 3.20 on RHEL5

Postby c4rm1n3 » Mon Oct 05, 2009 3:02 pm

soory bad posted :)
c4rm1n3
New
 
Posts: 9
Joined: Mon Sep 28, 2009 8:48 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron