-
Notifications
You must be signed in to change notification settings - Fork 28
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 on FreeBSD #101
Comments
Out of curiosity, can you try running |
The output is slightly different: checking for JAVA_VERSION... ./configure: line 17213: test: deprecated |
This suggests that the java check is has bashisms, and doesn't deal with some constructs nicely, either. Can you try adding Thanks! |
It did not change the output. |
Ah, you will need to regenerate configure too. |
Outdated, closed on syslog-ng side. |
Tested on FreeBSD 10.1 with openjdk 1.7 and 1.8. The results are the same:
Already the output of configure looks strange:
checking for JAVA_VERSION... test: deprecated
"1.7.0_71"
1: bad number
test: deprecated
"1.7.0_71"
1: bad number
deprecated
"1.7.0_71"
1.7
And compilation fails:
GEN modules/java/java-grammar.y
YACC modules/java/java-grammar.c
/usr/local/bin/javavm -d ./modules/java ./modules/java/SyslogNgClassLoader.java
javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated
Unrecognized option: -d
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Makefile:2919: recipe for target
'modules/java/org/syslog_ng/SyslogNgDestination.class' failed
gmake[1]: *** [modules/java/org/syslog_ng/SyslogNgDestination.class] Error 1
gmake[1]: Leaving directory
'/root/syslog-ng-incubator/work/syslog-ng-incubator-0.4.0'
*** Error code 1
The text was updated successfully, but these errors were encountered: