[syslog-ng] Not able to compile syslog-ng OSE with Java support

Czanik, Péter peter.czanik at balabit.com
Sat Feb 20 07:47:23 CET 2016


You will also need gradle to build Java modules: http://gradle.org/
Bye,

Peter Czanik (CzP) <peter.czanik at balabit.com>
Balabit / syslog-ng upstream
http://czanik.blogs.balabit.com/
https://twitter.com/PCzanik

On Sat, Feb 20, 2016 at 7:02 AM, 'Ho, Ming' via SYSLOG-NG <
syslog-ng at balabit.com> wrote:

> Hello,
>
> 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:
>
> Installed openjdk version "1.8.0_71"
> Installed gradle version 2.11
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
> 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
>
> When I run ./configure, I notice the java module option is set to "no" in
> the summary:
> Modules:
>   Module search path          : ${exec_prefix}/lib/syslog-ng
>   Sun STREAMS support (module): no
>   SQL support (module)        : no
>   PACCT module (EXPERIMENTAL) : no
>   MongoDB destination (module): yes
>   JSON support (module)       : no
>   SMTP support (module)       : no
>   AMQP destination (module)   : yes
>   STOMP destination (module)  : yes
>   GEOIP support (module)      : no
>   Redis support (module)      : no
>   Riemann destination (module): no
>   python                      : yes (pkg-config package: python)
>   java                        : no
>
> 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.
> When I include the following declaration in my syslog-ng.conf to start
> syslog-ng, I got the following error:
> [2016-02-20T05:46:59.039466] Plugin module not found in 'module-path';
> module-path='/usr/local/lib/syslog-ng', module='mod-java'
>
> Why Java modules is not included? What steps am I missing?
> Any help is appreciated
>
> Ming
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160220/e2a92c57/attachment.htm 


More information about the syslog-ng mailing list