Compilation Woes on RHEL 5
I am trying to build syslog-ng 2.0.6 with eventlog installed into /usr/local/eventlog-0.2.5/. configure is complaining it can't find eventlog or pkg-config: checking for GLIB... yes checking for EVTLOG... no configure: error: Cannot find eventlog version >= 0.2: is pkg-config in path? charger:/usr/local/src/syslog-ng-2.0.6 #which pkg-config I have tried adding the /usr/local/eventlog-0.2.5/lib path to /etc/ld.so.conf (and reconfiguring ld). charger:/usr/local/src/syslog-ng-2.0.6 #ldconfig -p | grep eventlog libevtlog.so.0 (libc6) => /usr/local/eventlog-0.2.5/lib/libevtlog.so.0 libevtlog.so (libc6) => /usr/local/eventlog-0.2.5/lib/libevtlog.so I have tried defining this in LD_LIBRARY_PATH. I have also tried explicitly setting LDFLAGS (for the libs) and CPPFLAGS (for the includes) in the environment I'n running configure from. I am unable to get configure to find these libraries. It also complains it can't find pkg-config, however this pkg-config is under /usr/bin and the shell I'm running this from has no problems findind it: charger:/usr/local/src/syslog-ng-2.0.6 #which pkg-config /usr/bin/pkg-config charger:/usr/local/src/syslog-ng-2.0.6 #pkg-config --version 0.21 I don't want to install the eventlog libraries directly under /lib or /usr/local/lib. Is there any way to do this? Thanks for any help, CC
participants (1)
-
Chuck