<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Helvetica" size="2"><span style="font-size:10pt;">
<div><font color="#555555">Hello,</font></div>
<div><font color="#555555"> </font></div>
<div><font color="#555555">I followed syslog-ng 3.7 admin guide to compile eventlog-0.2.12+20120504+1700 on a Redhat 6.5 server and it created the following directory:<br>
# pwd<br>
/usr/local/lib<br>
# ll<br>
total 152<br>
-rw-r–r– 1 root root 91250 Oct 16 21:55 libevtlog.a<br>
-rwxr-xr-x 1 root root 957 Oct 16 21:55 libevtlog.la<br>
lrwxrwxrwx 1 root root 18 Oct 16 21:55 libevtlog.so -> libevtlog.so.0.0.0<br>
lrwxrwxrwx 1 root root 18 Oct 16 21:55 libevtlog.so.0 -> libevtlog.so.0.0.0<br>
-rwxr-xr-x 1 root root 51128 Oct 16 21:55 libevtlog.so.0.0.0<br>
drwxr-x— 2 root root 4096 Oct 16 21:55 pkgconfig<br>
I also set PKG_CONFIG_PATH<br>
# echo $PKG_CONFIG_PATH<br>
/usr/local/lib/pkgconfig<br>
But when I ran “./configure” in the syslog-ng-3.7.1 directory, I got the following error:<br>
checking for clock_gettime… yes<br>
checking for EVTLOG… no<br>
configure: error: Package requirements (eventlog >= 0.2.12) were not met:<br>
No package ‘eventlog’ found<br>
Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
installed software in a non-standard prefix.<br>
Alternatively, you may set the environment variables EVTLOG_CFLAGS<br>
and EVTLOG_LIBS to avoid the need to call pkg-config.<br>
See the pkg-config man page for more details.</font></div>
<div><font face="Calibri" size="2" color="#555555"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2" color="#555555"><span style="font-size:11pt;"> </span></font></div>
<div><font color="#555555"># pwd<br>
/usr/local/lib/pkgconfig<br>
# ll<br>
total 4<br>
-rw-r–r– 1 root root 238 Oct 16 21:55 eventlog.pc<br>
# cat eventlog.pc<br>
prefix=/usr/local<br>
exec_prefix=${prefix}<br>
libdir=${exec_prefix}/lib<br>
includedir=${prefix}/include/eventlog<br>
Name: EventLog<br>
Description: General system logging format library<br>
Version: 0.2.12<br>
Cflags: -I${includedir}<br>
Libs: -L${libdir} -levtlog<br>
<br>
Appreciate anyone who can tell me what’s wrong</font></div>
<div><font face="Calibri" size="2" color="#555555"><span style="font-size:11pt;"> </span></font></div>
<div><font color="#555555">Ming</font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
</span></font>
</body>
</html>