<div dir="ltr"><div>Hi,</div><div><br></div><div>This seems to be a glib compilation issue and not a syslog-ng compile problem. syslog-ng by itself does not use glib-genmarshal or glib-compile-schemas<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 7, 2018 at 10:50 AM R.Naveen Naidu <<a href="mailto:naveenese@gmail.com">naveenese@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br>Hi,<div>I'm facing one more issue while cross-compiling the syslog-ng-3.17.2.</div><div>Actually, syslog-ng is cross-compiled in one server and another server its failing due to "<b>glib-compile-schemas" is not there in PATH. </b>Both servers are using different kernel versions.</div><div>For syslog-ng, I downloaded the glib-2.26.1 version as syslog-ng-3.17.2 is expecting this min version of glib.</div><div><br></div><div>My doubt is Why it's using the local glib* packages during cross-compile? Even in config file mentioned glib-schemas and marshal has to be there in PATH</div><div><br></div><div>Do we need these binaries in local PATH before using glib-2.26.1 for syslog-ng ? Please let me know your comments/suggestions ?</div><div><br></div><div><b>File: glib-2.26.1/<a href="http://configure.ac" target="_blank">configure.ac</a> </b><br></div><div>===</div><div><div><font face="monospace, monospace">dnl ******************************************************************</font></div><div><font face="monospace, monospace" style="background-color:rgb(0,255,0)">dnl *** If we are cross-compiling, look for </font><font face="monospace, monospace" style="background-color:rgb(255,255,0)">glib-genmarshal</font><font face="monospace, monospace" style="background-color:rgb(0,255,0)"> and ***</font></div><div><font face="monospace, monospace"><span style="background-color:rgb(0,255,0)">dnl *** </span><span style="background-color:rgb(255,255,0)">glib-compile-schemas</span><span style="background-color:rgb(0,255,0)"> in PATH </span> ***</font></div><div><font face="monospace, monospace">dnl ******************************************************************</font></div><div><br></div><div><font face="monospace, monospace"><b style="background-color:rgb(255,255,0)">AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)</b></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">if test $cross_compiling = yes; then</font></div><div><font face="monospace, monospace"> AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no)</font></div><div><font face="monospace, monospace"> if test x$GLIB_GENMARSHAL = xno; then</font></div><div><font face="monospace, monospace"> <font color="#ff0000"> AC_MSG_ERROR(Could not find a glib-</font>genmarshal<font color="#ff0000"> in your </font><b><font color="#00ff00">PATH</font></b><font color="#ff0000">)</font></font></div><div><font face="monospace, monospace"> fi</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas, no)</font></div><div><font face="monospace, monospace"> if test x$GLIB_COMPILE_SCHEMAS = xno; then</font></div><div><font face="monospace, monospace"> <font color="#ff0000">AC_MSG_ERROR(Could not find a glib-compile-schemas in your </font><font color="#00ff00">PATH</font><font color="#ff0000">)</font></font></div><div><font face="monospace, monospace"> fi</font></div><div><font face="monospace, monospace">fi</font></div></div><div><br></div><div><br></div><div><b>LOGS for 2 servers:</b></div><div>======</div><div><table class="m_-8522925990744194242gmail-MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"><tbody><tr><td width="515" valign="top" style="width:386.6pt;border:1pt solid windowtext;background:rgb(191,191,191);padding:0in 5.4pt"><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>Server #1</b></p>
</td>
<td width="570" valign="top" style="width:427.5pt;border-top:1pt solid windowtext;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:none;background:rgb(191,191,191);padding:0in 5.4pt">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>Server #2</b></p>
</td>
</tr>
<tr>
<td width="515" valign="top" style="width:386.6pt;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:1pt solid windowtext;border-top:none;padding:0in 5.4pt">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> uname -a</b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">Linux 1b23564ad2ef <span style="background:yellow">4.15.0-33-generic</span> <span style="background:yellow">#36-Ubuntu</span> SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux</span></p>
</td>
<td width="570" valign="top" style="width:427.5pt;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding:0in 5.4pt">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>uname -a</b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">Linux ossbldrh6-bsn-01 <span style="background:yellow">2.6.32-279.22.1.el6.x86_64</span> #1 SMP Sun Jan 13 09:21:40 EST 2013 x86_64 x86_64 x86_64 GNU/Linux</span></p>
</td>
</tr>
<tr>
<td width="515" valign="top" style="width:386.6pt;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:1pt solid windowtext;border-top:none;padding:0in 5.4pt">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>Glib binaries</b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">[admin@1b23564ad2ef XXXXX]$ <b>ls -l /usr/bin/glib-*</b></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">-rwxr-xr-x 1 root root 38496 Jun 19 15:42 <span style="background:yellow">/usr/bin/glib-compile-schemas</span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">-rwxr-xr-x 1 root root 24664 Jun 19 15:42 <span style="background:yellow">/usr/bin/glib-genmarshal</span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">-rwxr-xr-x 1 root root 5444 Jun 19 15:50 /usr/bin/glib-gettextize</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">-rwxr-xr-x 1 root root 16910 Jun 19 15:50 /usr/bin/glib-mkenums</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
</td>
<td width="570" valign="top" style="width:427.5pt;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding:0in 5.4pt">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span><b style="font-size:11pt">Glib binaries</b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">[nr023456@ossbldrh6-bsn-01 syslog]$ <b>ls -l /usr/bin/glib-*</b></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">-rwxr-xr-x 1 root root 28312 Dec 21 2010 <span style="background:yellow">/usr/bin/glib-genmarshal</span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">-rwxr-xr-x. 1 root root 5444 Dec 21 2010 /usr/bin/glib-gettextize</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">-rwxr-xr-x. 1 root root 15725 Dec 21 2010 /usr/bin/glib-mkenums</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="background:yellow">NOTE</span>: <span style="color:red">glib-compile-schemas is not there in bin location</span></b><span style="font-size:9pt;font-family:"Courier New""></span></p>
</td>
</tr>
<tr>
<td width="515" valign="top" style="width:386.6pt;border-right:1pt solid windowtext;border-bottom:1pt solid windowtext;border-left:1pt solid windowtext;border-top:none;padding:0in 5.4pt">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>Glib compile logs(generated logs during cross compile)</b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking whether to use assembler code for atomic operations... checking whether GCC supports build-in atomic intrinsics... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for futex(2) system call... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLIN... 1</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLOUT... 4</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLPRI... 2</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLERR... 8</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLHUP... 16</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLNVAL... 32</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for broken poll... no (cross compiling)</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking whether compiler understands -Wno-pointer-sign... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for EILSEQ... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New";background:yellow">checking for glib-genmarshal... /usr/bin/glib-genmarshal</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New";background:yellow">checking for glib-compile-schemas... /usr/bin/glib-compile-schemas</span><span style="font-size:9pt;font-family:"Courier New""></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for gtkdoc-check... no</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for gtkdoc-rebase... no</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for gtkdoc-mkpdf... no</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking whether to build gtk-doc documentation... no</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking whether to include dtrace tracing support... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p>
</td>
<td width="570" valign="top" style="width:427.5pt;border-top:none;border-left:none;border-bottom:1pt solid windowtext;border-right:1pt solid windowtext;padding:0in 5.4pt">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>Glib compile logs(generated logs during cross compile)</b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for monotonic clocks... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking whether to use assembler code for atomic operations... checking whether GCC supports build-in atomic intrinsics... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for futex(2) system call... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLIN... 1</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLOUT... 4</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLPRI... 2</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLERR... 8</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLHUP... 16</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking value of POLLNVAL... 32</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for broken poll... no (cross compiling)</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking whether compiler understands -Wno-pointer-sign... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New"">checking for EILSEQ... yes</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New";background:yellow">checking for glib-genmarshal... /usr/bin/glib-genmarshal</span><span style="font-size:9pt;font-family:"Courier New""></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New";color:red;background:yellow">checking for glib-compile-schemas... no</span><span style="font-size:9pt;font-family:"Courier New";color:red"></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New";color:red">configure: error: Could not find a glib-compile-schemas in your <span style="background:yellow">PATH</span></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9pt;font-family:"Courier New";color:red">make[9]: *** [glib-2.26.1/config.status] Error 1</span><span style="font-size:9pt;font-family:"Courier New""></span></p>
</td>
</tr>
</tbody></table></div><div><br><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 9:05 PM R.Naveen Naidu <<a href="mailto:naveenese@gmail.com" target="_blank">naveenese@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Gabor.<div>Java module is disabled now. </div><div><br></div><div>Thanks</div><div>Naveen<br><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 8:04 PM Nagy, Gábor <<a href="mailto:gabor.nagy@oneidentity.com" target="_blank">gabor.nagy@oneidentity.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I hope I understood your question, but to disable compiling java modules you need to use the "--disable-java" configure option or the "<b>enable-java</b>=no".</div><div><b>enable_java </b>with underscore is the variable's name I think.</div><div><br></div><div>Regards,</div><div>Gabor</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 4:23 PM R.Naveen Naidu <<a href="mailto:naveenese@gmail.com" target="_blank">naveenese@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div>Hi,<div><br></div><div><div>Could you please help to disable the java modules while cross-compiling the syslog-ng(<b>3.17.2</b>). I tried disabling the java module( <b>--enable_java=no</b>) during configure and showing it as an unrecognized option(This is done in local syslog-ng compile Makefile where doing untar of syslog-ng and configure/make). </div><div><br></div><div>From the below site given the given Java options if we need to use it.</div><div><a href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.16/administration-guide/10#TOPIC-956423" target="_blank">https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.16/administration-guide/10#TOPIC-956423</a><br></div><div>====</div><div><b><span style="font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4 Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px">If you want to use the Java-based modules of syslog-ng OSE (for example, the Elasticsearch, HDFS, or Kafka destinations), you must compile syslog-ng OSE with Java support.</span> </b><br></div><div>====</div><div><div>Mainly I don't want the Java to be cross-compiled and not going to use it. I see these options are there in <a href="http://configure.ac" target="_blank">configure.ac</a> file.</div><div>AC_ARG_ENABLE(java, [<b> --enable-java</b> Enable java destination (default: auto)],, enable_java="auto")<br></div><br class="m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-Apple-interchange-newline"></div><div><b>Error logs:</b></div><div>===</div><div><div> ./configure \</div><div> <Some donfig options></div><div> <b><font color="#00ff00"> --enable_java=no \</font></b></div><div> --with-module-path="/lib:/lib/syslog-ng"</div><div><font color="#ff0000">configure: error: unrecognized option: `--enable_java=no'</font></div><div><font color="#ff0000">Try `./configure --help' for more information</font></div><div><br></div><div>In <b>config.log </b>file<b> </b>below logs are there after compiling. </div><div><b><br></b></div><div><div><b><font color="#ff0000"> java : yes</font></b></div><div><b> java modules : no</b></div><div> native bindings : auto</div></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 21, 2018 at 2:40 PM R.Naveen Naidu <<a href="mailto:naveenese@gmail.com" target="_blank">naveenese@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you Gabor for pointing to correct page for a cross-compiling and choose the dependencies.<div><br>I will try this and get back you if any issues.</div><div><br></div><div><div class="gmail_quote"><div dir="ltr">On Tue, Aug 21, 2018 at 2:15 PM Nagy, Gábor <<a href="mailto:gabor.nagy@oneidentity.com" target="_blank">gabor.nagy@oneidentity.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>I think what needs to be considered is are the dependencies available on your platform?</div><div>Here is a list of dependencies in our admin guide:</div><div><a href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.16/administration-guide/10#TOPIC-956423" target="_blank">https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.16/administration-guide/10#TOPIC-956423</a><br></div><div>The current required versions can be seen in <a href="http://configure.ac" target="_blank">configure.ac</a> file.</div><div><br></div><div>We have created a wiki page on github for a cross-compiling getting started:</div><div><a href="https://github.com/balabit/syslog-ng/wiki/Cross-compile-syslog-ng" target="_blank">https://github.com/balabit/syslog-ng/wiki/Cross-compile-syslog-ng</a><br></div><div><br></div><div>Regards,</div><div>Gabor</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 21, 2018 at 9:42 AM R.Naveen Naidu <<a href="mailto:naveenese@gmail.com" target="_blank">naveenese@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Added the sub.<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 21, 2018 at 1:07 PM R.Naveen Naidu <<a href="mailto:naveenese@gmail.com" target="_blank">naveenese@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I need a help to choose the syslog-ng package for Linux.</div><div><br></div><div>What are the things need to consider when choosing the latest syslog-ng to Linux?</div><div><br></div><div>Actually, I wanted to cross-compile the <span class="m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-gr_ m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-gr_560 m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-gr-alert m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-gr_spell m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-gr_inline_cards m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-gr_disable_anim_appear m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-ContextualSpelling m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-ins-del m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-multiReplace" id="m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail-560" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat">syslog</span>-ng and load into the customized Linux version <b>4.1.35rt41</b> </div><div> <br></div><div>The current latest syslog-ng version is<b> 3.17.2</b> from below site and planning to use this.</div><div><a href="https://github.com/balabit/syslog-ng/releases" target="_blank">https://github.com/balabit/syslog-ng/releases</a><br></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480m_-5452796376475608269gmail_signature">Thanks & Regards<br>Naveen</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069m_5270674586317166780m_-3337770393247163203m_2356804441184204288m_-1852919013227894480gmail_signature">Thanks & Regards<br>Naveen</div></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail-m_1756993429840723069gmail_signature">Thanks & Regards<br>Naveen</div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-8522925990744194242gmail-m_7026600518066261976m_5973990462592803072m_-5099490210798629935gmail_signature">Thanks & Regards<br>Naveen</div></div></div></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-8522925990744194242gmail-m_7026600518066261976gmail_signature">Thanks & Regards<br>Naveen</div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-8522925990744194242gmail_signature">Thanks & Regards<br>Naveen</div></div></div></div></div></div></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Bazsi</div>