[syslog-ng] Help on trying to build syslog-ng 3.0.2 on RHEL AS 4

Joe Wood schmoe at gmail.com
Mon Jun 1 10:28:24 CEST 2009


Hello.

I'm having troubles getting syslog-ng to compile on RHEL AS 4, with
all appropriate libs installed.

The configure script errors out with:

checking pkg-config is at least version 0.14... yes
checking for GLIB - version >= 2.10.1... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Cannot find GLIB version >= 2.10.1: is pkg-config in path?

When I examine config.log, I see the following:

configure:8496: gcc -o conftest -g -O2 -Wall    conftest.c   >&5
conftest.c:42:18: glib.h: No such file or directory
conftest.c: In function `main':
conftest.c:48: error: `glib_major_version' undeclared (first use in
this function)
conftest.c:48: error: (Each undeclared identifier is reported only once
conftest.c:48: error: for each function it appears in.)
conftest.c:48: error: `glib_minor_version' undeclared (first use in
this function)
conftest.c:48: error: `glib_micro_version' undeclared (first use in
this function)
configure:8502: $? = 1
configure: failed program was:

However, glib.h and all appropriate glib headers are installed in
/usr/local/include, which even when specified to configure (through
--includedir) it doesn't seem to pick up on....

Anyone encountered this before?

Joe


More information about the syslog-ng mailing list