<H3 style="MARGIN: 12pt 0in 0pt; TEXT-INDENT: 0in"><FONT face="arial narrow">Hope This will help you to compile Sysylog-ng for proper fuctioning.</FONT></H3> <H3 style="MARGIN: 12pt 0in 0pt; TEXT-INDENT: 0in"><A name=_Toc165364444><FONT color=#000080><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Compilation Procedure</SPAN></FONT></A><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT color=#000080> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></H3> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt">Below are the steps, which are required to complete the compilation.<o:p></o:p></SPAN></div> <div class=MsoBodyText2 style="MARGIN: 0in 0in 0pt 0.3in"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN:
0in 0in 0pt"><SPAN lang=EN-GB><FONT size=3><FONT face="Times New Roman">1.<SPAN style="mso-tab-count: 1"> </SPAN></FONT></FONT></SPAN><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt">Create the appropriate directory tree in /opt/soe/local for syslog-ng<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt">Note:</SPAN></B><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"> Download the latest source code for eventlog and Syslog-ng. Before compiling the Syslog-ng<SPAN style="mso-spacerun: yes"> </SPAN>we need to compile eventlog, which is required for Syslog-ng
to function properly.<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></div> <div class=CommentSubject style="MARGIN: 0in 0in 0pt"><U><SPAN lang=EN-GB style="FONT-FAMILY: Verdana"><STRONG>Compiling eventlog<o:p></o:p></STRONG></SPAN></U></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 125.25pt; TEXT-INDENT: -35.25pt; mso-list: l31 level2 lfo69; tab-stops: list 125.25pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">1.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">Go to eventlog
source directory<o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 125.25pt; TEXT-INDENT: -35.25pt; mso-list: l31 level2 lfo69; tab-stops: list 125.25pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">2.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">Cd<SPAN style="mso-spacerun: yes"> </SPAN>eventlog_src_dir<o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 125.25pt; TEXT-INDENT: -35.25pt; mso-list: l31 level2 lfo69; tab-stops: list 125.25pt"><SPAN lang=EN-GB><FONT face="Times New Roman">3.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></FONT></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">./configure --prefix=/opt/soe/local/syslog-ng-2.0.2/eventlog</SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 125.25pt; TEXT-INDENT: -35.25pt; mso-list: l31 level2 lfo69;
tab-stops: list 125.25pt"><SPAN lang=EN-GB><FONT face="Times New Roman">4.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></FONT></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">make</SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 125.25pt; TEXT-INDENT: -35.25pt; mso-list: l31 level2 lfo69; tab-stops: list 125.25pt"><SPAN lang=EN-GB><FONT face="Times New Roman">5.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></FONT></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">make install</SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB><FONT face="Times New Roman"> <o:p></o:p></FONT></SPAN></div> <div class=CommentSubject style="MARGIN: 0in 0in 0pt"><U><SPAN lang=EN-GB style="FONT-FAMILY:
Verdana"><STRONG>Compiling Syslog-ng<o:p></o:p></STRONG></SPAN></U></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt 1in"><SPAN class=Machinetext><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></SPAN></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt 1in"><SPAN class=Machinetext><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 1.5in; TEXT-INDENT: -0.25in; mso-list: l62 level1 lfo98; tab-stops: list 1.5in"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">1.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">Go to Syslog-ng source directory<o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 1.5in; TEXT-INDENT: -0.25in; mso-list: l62 level1 lfo98; tab-stops: list
1.5in"><SPAN lang=EN-GB><FONT face="Times New Roman">2.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></FONT></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">Cd<SPAN style="mso-spacerun: yes"> </SPAN>syslog_ng_src_dir</SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 1.5in; TEXT-INDENT: -0.25in; mso-list: l62 level1 lfo98; tab-stops: list 1.5in"><SPAN lang=EN-GB><FONT face="Times New Roman">3.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></FONT></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">./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<SPAN style="mso-spacerun: yes"> </SPAN>EVTLOG_LIBS=/opt/soe/local/syslog-ng-2.0.2/eventlog/lib</SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 1.5in; TEXT-INDENT: -0.25in; mso-list: l62 level1
lfo98; tab-stops: list 1.5in"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">4.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">make<o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt 1.5in; TEXT-INDENT: -0.25in; mso-list: l62 level1 lfo98; tab-stops: list 1.5in"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">5.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></B><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">make install<B style="mso-bidi-font-weight: normal"><o:p></o:p></B></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><B><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">Note:</SPAN></B><SPAN lang=EN-GB style="FONT-FAMILY: Verdana"> on HP, it
requires to be compiling with dynamic options as:<o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></div> <div class=MsoCommentText style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-FAMILY: Verdana">./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<SPAN style="mso-spacerun: yes"> </SPAN>EVTLOG_LIBS=/opt/soe/local/syslog-ng-2.0.2/eventlog/lib<o:p></o:p></SPAN></div> <div> <div> </div> <div>Shamim</div> <div>CSC Noida<BR><BR><B><I>syslog-ng-request@lists.balabit.hu</I></B> wrote:</div></div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Send syslog-ng mailing list submissions to<BR>syslog-ng@lists.balabit.hu<BR><BR>To subscribe or unsubscribe via the World Wide Web,
visit<BR>https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>or, via email, send a message with subject or body 'help' to<BR>syslog-ng-request@lists.balabit.hu<BR><BR>You can reach the person managing the list at<BR>syslog-ng-owner@lists.balabit.hu<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of syslog-ng digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. Re: configure error (ictforever)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Sun, 10 Jun 2007 17:09:26 +0800<BR>From: ictforever <ICTFOREVER@GMAIL.COM><BR>Subject: Re: [syslog-ng] configure error<BR>To: syslog-ng@lists.balabit.hu<BR>Message-ID:<BR><AF0C3B3E0706100209K4D03E68P48295FD414408FF6@MAIL.GMAIL.COM><BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>><BR>> Any advice and suggestion are appreciated.Thanks<BR><BR>Did you export the environment variable? Check that<BR><BR># pkg-config
eventlog --cflags<BR><BR>returns anything at all. If it doesn't, investigate why (strace and<BR>friends could help here)<BR><BR>here are envs:<BR>LD_LIBRARY_PATH=/usr/local/eventlog/lib<BR>PKG_CONFIG_PATH=/usr/local/eventlog/lib/pkgconfig/<BR><BR>[root@test syslog-ng-2.0.4]# pkg-config eventlog --cflags<BR>-I/usr/local/eventlog/include/eventlog<BR><BR>but there is the same error:<BR>..............................<BR>checking for GLIB... yes<BR>checking for EVTLOG... no<BR>configure: error: Cannot find eventlog version >= 0.2: is pkg-config in<BR>path?<BR><BR>why?<BR>Thanks<BR>Regards.<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070610/488c22b3/attachment.html<BR><BR>------------------------------<BR><BR>_______________________________________________<BR>syslog-ng maillist - syslog-ng@lists.balabit.hu<BR>https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR><BR><BR>End
of syslog-ng Digest, Vol 26, Issue 10<BR>*****************************************<BR></BLOCKQUOTE><BR><p> 
                <hr size=1>
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/trueswitch/*http://uk.docs.yahoo.com/trueswitch2.html">Do it now...</a>