Hope This will help you to compile Sysylog-ng for proper fuctioning.

Compilation Procedure

Below are the steps, which are required to complete the compilation.
 
1.         Create the appropriate directory tree in /opt/soe/local for syslog-ng
 
Note: Download the latest source code for eventlog and Syslog-ng. Before compiling the Syslog-ng  we need to compile eventlog, which is required for Syslog-ng to function properly.
 
Compiling eventlog
 
 
1.      Go to eventlog source directory
2.      Cd  eventlog_src_dir
3.        ./configure --prefix=/opt/soe/local/syslog-ng-2.0.2/eventlog
4.        make
5.        make install
 
 
Compiling Syslog-ng
 
 
1.      Go to Syslog-ng source directory
2.        Cd  syslog_ng_src_dir
3.        ./configure --enable-static-linking --prefix=/opt/soe/local/syslog-ng-2.0.2 EVTLOG_CFLAGS=/opt/soe/local/syslog-ng-2.0.2/eventlog/include   EVTLOG_LIBS=/opt/soe/local/syslog-ng-2.0.2/eventlog/lib
4.      make
5.     make install
 
Note: on HP, it requires to be compiling with dynamic options as:
 
./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-2.0.2 EVTLOG_CFLAGS=/opt/soe/local/syslog-ng-2.0.2/eventlog/include   EVTLOG_LIBS=/opt/soe/local/syslog-ng-2.0.2/eventlog/lib
 
Shamim
CSC Noida

syslog-ng-request@lists.balabit.hu wrote:
Send syslog-ng mailing list submissions to
syslog-ng@lists.balabit.hu

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.balabit.hu/mailman/listinfo/syslog-ng
or, via email, send a message with subject or body 'help' to
syslog-ng-request@lists.balabit.hu

You can reach the person managing the list at
syslog-ng-owner@lists.balabit.hu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of syslog-ng digest..."


Today's Topics:

1. Re: configure error (ictforever)


----------------------------------------------------------------------

Message: 1
Date: Sun, 10 Jun 2007 17:09:26 +0800
From: ictforever
Subject: Re: [syslog-ng] configure error
To: syslog-ng@lists.balabit.hu
Message-ID:

Content-Type: text/plain; charset="iso-8859-1"

>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070610/488c22b3/attachment.html

------------------------------

_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng


End of syslog-ng Digest, Vol 26, Issue 10
*****************************************


Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. Do it now...