>
> Any advice and suggestion are appreciated.Thanks

Did you export the environment variable? Check that

# pkg-config eventlog --cflags

returns anything at all. If it doesn't, investigate why (strace and
friends could help here)
 
here are envs:
LD_LIBRARY_PATH=/usr/local/eventlog/lib
PKG_CONFIG_PATH=/usr/local/eventlog/lib/pkgconfig/
 
[root@test syslog-ng-2.0.4]# pkg-config eventlog --cflags
-I/usr/local/eventlog/include/eventlog 
 
but there is the same error:
..............................
checking for GLIB... yes
checking for EVTLOG... no
configure: error: Cannot find eventlog version >= 0.2: is pkg-config in path?
 
why?
Thanks
Regards.