Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java destination can't be disabled #97

Closed
czanik opened this issue Dec 12, 2014 · 0 comments
Closed

java destination can't be disabled #97

czanik opened this issue Dec 12, 2014 · 0 comments

Comments

@czanik
Copy link
Member

czanik commented Dec 12, 2014

While trying to package 0.4.0, without JDK in the build chroot, configure enables Java support. Compilation obviously fails:

[ 13s] GEN modules/java/java-grammar.y
[ 13s] YACC modules/java/java-grammar.c
[ 13s] d ./modules/java ./modules/java/SyslogNgClassLoader.java
[ 13s] make: d: Command not found
[ 13s] make: [modules/java/org/syslog_ng/SyslogNgDestination.class] Error 127 (ignored)
[ 13s] d ./modules/java ./modules/java/SyslogNg.java
[ 13s] make: d: Command not found
[ 13s] make: [modules/java/org/syslog_ng/SyslogNgDestination.class] Error 127 (ignored)
[ 13s] d ./modules/java -cp ./modules/java ./modules/java/SyslogNgDestination.java
[ 13s] make: d: Command not found
[ 13s] make: [modules/java/org/syslog_ng/SyslogNgDestination.class] Error 127 (ignored)
[ 13s] jar -cvf ./modules/java/SyslogNg.jar -C ./modules/java/ org
[ 13s] make: jar: Command not found
[ 13s] make: *** [modules/java/org/syslog_ng/SyslogNgDestination.class] Error 127

On --disable-java:

[ 5s] GEN modules/java/java-grammar.y
[ 5s] YACC modules/java/java-grammar.c
[ 5s] make: *** No rule to make target modules/java/SyslogNg.h', needed byall'. Stop.
[ 5s] error: Bad exit status from /var/tmp/rpm-tmp.7jm9h9 (%build)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant