Could you please help to disable the java modules while cross-compiling the syslog-ng(3.17.2). I tried disabling the java module( --enable_java=no) 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).
From the below site given the given Java options if we need to use it.
====
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.
====
Mainly I don't want the Java to be cross-compiled and not going to use it. I see these options are there in
configure.ac file.
AC_ARG_ENABLE(java, [ --enable-java Enable java destination (default: auto)],, enable_java="auto")
Error logs:
===
./configure \
<Some donfig options>
--enable_java=no \
--with-module-path="/lib:/lib/syslog-ng"
configure: error: unrecognized option: `--enable_java=no'
Try `./configure --help' for more information
In config.log file below logs are there after compiling.
java : yes
java modules : no
native bindings : auto
Thank you Gabor for pointing to correct page for a cross-compiling and choose the dependencies.
I will try this and get back you if any issues.
--
Thanks & Regards
Naveen
--
Thanks & Regards
Naveen