the output from the configure command:
sudo ./configure --enable-spoof-source ... checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for EVTLOG... no configure: error: Cannot find eventlog version >= 0.2: is pkg-config in path?
Note that the configure is using /usr/bin/pkg-config and your eventlog.pc is in /usr/local/lib/pkgconfig You need to set the PKG_CONFIG_PATH prior to running the .configure script so that this path gets built into the make process. I use env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --enable-spoof-source to get the guild right. Evan.
I found the command the configure script runs, so I ran it manaully:
sudo /usr/bin/pkg-config --exists --print-errors eventlog Package eventlog was not found in the pkg-config search path. Perhaps you should add the directory containing `eventlog.pc' to the PKG_CONFIG_PATH environment variable No package 'eventlog' found
env | grep PKG PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
ls -al /usr/local/lib/pkgconfig/ -rw-r--r-- 1 root root 237 Apr 25 08:19 eventlog.pc
Can anyone help me figure this issue out? Thanks in advance!
Chris Ivey
Affiliated Computer Services Enterprise Management Integration Services Infrastructure Management Senior Analyst
chris.ivey@acs-inc.com
"I have not failed, I have simply found 10,000 ways which do not work!" -- Thomas Edison "When you find yourself in a hole, the best thing to do is stop digging!"
--
Nick Stokes "I reject your reality, and substitute my own!" -- Adam Savage
_____
From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of ScottO Sent: Wednesday, April 23, 2008 9:36 AM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] Syslog-ng 2.0/2.1 on Fedora Core 4
Those version numbers should obviously updated to the latest available, :)
On Wed, Apr 23, 2008 at 9:35 AM, ScottO <skippylou@gmail.com <mailto:skippylou@gmail.com> > wrote:
On various versions of CentOS and Fedora, all I do is:
- ./configure;make;make install on eventlog-0.2.5.tar.gz (from syslog-ng site) - export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig - ./configure;make;make install on syslog-ng-2.0.5.tar.gz (from syslog-ng site)
I did also need to install the glib2-devel package, which I didn't have already installed.
Hope that helps,
Scott
On Wed, Apr 23, 2008 at 8:36 AM, Ivey, Chris <Chris.ivey@acs-inc.com <mailto:Chris.ivey@acs-inc.com> > wrote:
Hi folks! I posted this question previously, but I am still not clear on the process involved in putting a newer version of syslog-ng on my Fedora Core 4 machines. I need to upgrade, because my version (1.6.11) does not support hi-res timestamps. Can anyone provide some guidance as to how to go about this process? I got information previously to compile from source, but I am not 100% clear on the process. Any guidance from you fine folks would be terribly appreciated!!! Thanks, folks!
Chris Ivey
Affiliated Computer Services Enterprise Management Integration Services Infrastructure Management Senior Analyst
chris.ivey@acs-inc.com <mailto:chris.ivey@acs-inc.com>
"I have not failed, I have simply found 10,000 ways which do not work!" -- Thomas Edison "When you find yourself in a hole, the best thing to do is stop digging!" -- Nick Stokes "I reject your reality, and substitute my own!" -- Adam Savage
____________________________________________________________________________
__ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng <https://lists.balabit.hu/mailman/listinfo/syslog-ng> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng <http://www.balabit.com/support/documentation/?product=syslog-ng> FAQ: http://www.campin.net/syslog-ng/faq.html <http://www.campin.net/syslog-ng/faq.html>
____________________________________________________________________________ __ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html