<div dir="ltr"><div>You will also need gradle to build Java modules: <a href="http://gradle.org/">http://gradle.org/</a><br></div>Bye,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Peter Czanik (CzP) <<a href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>><br>Balabit / syslog-ng upstream<br><a href="http://czanik.blogs.balabit.com/" target="_blank">http://czanik.blogs.balabit.com/</a><br><a href="https://twitter.com/PCzanik" target="_blank">https://twitter.com/PCzanik</a></div></div>
<br><div class="gmail_quote">On Sat, Feb 20, 2016 at 7:02 AM, 'Ho, Ming' via SYSLOG-NG <span dir="ltr"><<a href="mailto:syslog-ng@balabit.com" target="_blank">syslog-ng@balabit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font size="2" face="Calibri"><span style="font-size:11pt">
<div>Hello,</div>
<div> </div>
<div>I am able to compile syslog-ng 3.7.2 without the Java-based modules included successfully and the syslog-ng run fine. Now I need to re-compile again with the Java-based modules included. I execute the following steps listed in the syslog-ng-3.7-ose-admin
guide:</div>
<div> </div>
<div>Installed openjdk version "1.8.0_71"</div>
<div>Installed gradle version 2.11</div>
<div>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH</div>
<div>export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-1.b15.el6_7.x86_64/jre/lib/amd64/server:$LD_LIBRARY_PATH</div>
<div> </div>
<div>When I run ./configure, I notice the java module option is set to "no" in the summary:</div>
<div> Modules:</div>
<div> Module search path : ${exec_prefix}/lib/syslog-ng</div>
<div> Sun STREAMS support (module): no</div>
<div> SQL support (module) : no</div>
<div> PACCT module (EXPERIMENTAL) : no</div>
<div> MongoDB destination (module): yes</div>
<div> JSON support (module) : no</div>
<div> SMTP support (module) : no</div>
<div> AMQP destination (module) : yes</div>
<div> STOMP destination (module) : yes</div>
<div> GEOIP support (module) : no</div>
<div> Redis support (module) : no</div>
<div> Riemann destination (module): no</div>
<div> python : yes (pkg-config package: python)</div>
<div> java : no</div>
<div> </div>
<div>I go ahead to execute "make" and "make install" without error. But I don't see the "java-modules" directory is created in /usr/local/lib/syslog-ng directory.</div>
<div>When I include the following declaration in my syslog-ng.conf to start syslog-ng, I got the following error:</div>
<div>[2016-02-20T05:46:59.039466] Plugin module not found in 'module-path'; module-path='/usr/local/lib/syslog-ng', module='mod-java'</div>
<div> </div>
<div>Why Java modules is not included? What steps am I missing?</div>
<div>Any help is appreciated</div><span class="HOEnZb"><font color="#888888">
<div> </div>
<div>Ming</div>
<div> </div>
</font></span></span></font>
</div>
<br>______________________________________________________________________________<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>
<br></blockquote></div><br></div>