Hi there, I am trying to compile the syslog-ng-2.0.7 on CentOS 5 but failed with the following errors. Could someone help please? Thanks. Kevin SZ checking for LIBNET... which: no libnet-config in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin) no checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... yes checking whether to enable spoof source support... no checking whether to enable IPv6 support... yes checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... no configure: error: Cannot find GLib library version >= 2.2: is pkg-config in path? -bash-3.1$
On Wed, 23 Jan 2008 11:34:41 PST, Siwei Zhang said:
checking for GLIB... no
configure: error: Cannot find GLib library version >= 2.2: is pkg-config in path?
Do an 'rpm -q glib2-devel' - if it's not installed, install it and try again.
Hi Valdis, Thanks for the help. It works but with new problem as shown below: [root@server ~]# rpm -q glib2 glib2-2.12.3-2.fc6 [root@server ~]# rpm -q glib2-devel glib2-devel-2.12.3-2.fc6 [root@server ~]# [root@server ~]# 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? Kevin SZ -----Original Message----- From: Valdis.Kletnieks@vt.edu [mailto:Valdis.Kletnieks@vt.edu] Sent: Wednesday, January 23, 2008 11:45 AM To: Siwei Zhang Cc: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] compilation problem On Wed, 23 Jan 2008 11:34:41 PST, Siwei Zhang said:
checking for GLIB... no
configure: error: Cannot find GLib library version >= 2.2: is pkg-config in path?
Do an 'rpm -q glib2-devel' - if it's not installed, install it and try again.
Your missing eventlog. Did you install it? On 1/23/08, Siwei Zhang <szhang@8x8.com> wrote:
Hi Valdis,
Thanks for the help. It works but with new problem as shown below: [root@server ~]# rpm -q glib2 glib2-2.12.3-2.fc6 [root@server ~]# rpm -q glib2-devel glib2-devel-2.12.3-2.fc6 [root@server ~]# [root@server ~]#
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?
Kevin SZ
-----Original Message----- From: Valdis.Kletnieks@vt.edu [mailto:Valdis.Kletnieks@vt.edu] Sent: Wednesday, January 23, 2008 11:45 AM To: Siwei Zhang Cc: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] compilation problem
On Wed, 23 Jan 2008 11:34:41 PST, Siwei Zhang said:
checking for GLIB... no
configure: error: Cannot find GLib library version >= 2.2: is pkg-config in path?
Do an 'rpm -q glib2-devel' - if it's not installed, install it and try again. _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
-- Sent from Gmail for mobile | mobile.google.com
On Wed, 23 Jan 2008, Siwei Zhang wrote: [snip]
I am trying to compile the syslog-ng-2.0.7 on CentOS 5 but failed with the following errors.
configure: error: Cannot find GLib library version >= 2.2: is pkg-config in path?
[snip] By default, eventlog installs its pkg-config .pc file in /usr/local/lib/pkgconfig on centos, which is not in pkg-config's standard path. You'll need to set the PKG_CONFIG_PATH environment variable to include /usr/local/lib/pkgconfig, then re-run ./configure: bash$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig bash$ ./configure Steve -- Steve Bernacki, Jr To date, the Pan-Massachusetts Challenge has raised 171 million dollars for cancer research. Get involved! http://www.pmc.org/
participants (4)
-
David Rice
-
Siwei Zhang
-
Steve Bernacki
-
Valdis.Kletnieks@vt.edu