Hey everyone,

I'm trying to compile syslog-ng 3.2.1 on CentOS 5.3 which is running glib 2.12.3-4, and get this error:

./.libs/libdbparser.so: undefined reference to `g_timeout_add_seconds'
collect2: ld returned 1 exit status
make[5]: *** [pdbtool] Error 1
make[5]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules/dbparser'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules/dbparser'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules/dbparser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/syslog-ng-3.2.1'
make: *** [all] Error 2


As I understand g_timeout_add_seconds was added to glib 2.14, which CentOS doesn't support yet. Now my question is, there was a big filed a while ago about this, does balabit plan on implementing the old api for glib to support 3.2.1 for glib < 2.14 ? Knowing the fact that CentOS is such a popular and wide distribution, why not make it easy for us and patch it?
Is my other choice to just compile it statically on a system running glib >= 2.14 and then install the binary on the CentOS system?

Thanks,
Lutz