Lewis John McGibbney created JOSHUA-287: -------------------------------------------
Summary: KenLM.java catches UnsatisfiedLinkError when attempting to load libken.so (libken.dylib on OSX) Key: JOSHUA-287 URL: https://issues.apache.org/jira/browse/JOSHUA-287 Project: Joshua Issue Type: Improvement Components: kenlm, core Affects Versions: 6.0.5 Reporter: Lewis John McGibbney Fix For: 6.1 As explained in http://www.mail-archive.com/dev%40joshua.incubator.apache.org/msg01189.html currently we have an issue, where, when checked out from master the following RuntimeException is thrown. {code} ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite WARN - sentence 0 too long 401, truncating to length 200 WARN - sentence 0 too long 401, truncating to length 200 WARN - sentence 0 too long 401, truncating to length 200 WARN - sentence 0 too long 401, truncating to length 200 tm_pt_0=-2.000 tm_glue_0=3.000 lm_0=-206.718 lm_0_oov=2.000 OOVPenalty=-200.000 | -198.000 ERROR - * FATAL: Can't find libken.so (libken.dylib on OS X) in $JOSHUA/lib ERROR - * This probably means that the KenLM library didn't compile. ERROR - * Make sure that BOOST_ROOT is set to the root of your boost ERROR - * installation (it's not /opt/local/, the default), change to ERROR - * $JOSHUA, and type 'ant kenlm'. If problems persist, see the ERROR - * website (joshua-decoder.org). WARN - no grammars supplied! Supplying dummy glue grammar. WARN - no grammars supplied! Supplying dummy glue grammar. WARN - no grammars supplied! Supplying dummy glue grammar. WARN - no grammars supplied! Supplying dummy glue grammar. WARN - no grammars supplied! Supplying dummy glue grammar. WARN - no grammars supplied! Supplying dummy glue grammar. WARN - no grammars supplied! Supplying dummy glue grammar. WARN - no grammars supplied! Supplying dummy glue grammar. {code} We need to fix this such that we can run static source code analysis via sonar and have our results available on analysis.apache.org. -- This message was sent by Atlassian JIRA (v6.3.4#6332)