Uploaded image for project: 'Joshua (Retired)'
  1. Joshua (Retired)
  2. JOSHUA-287

KenLM.java catches UnsatisfiedLinkError when attempting to load libken.so (libken.dylib on OSX)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.5
    • 6.1
    • core, kenlm
    • None

    Description

      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.

      -------------------------------------------------------
       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.
      

      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.

      Attachments

        Activity

          People

            kellen.sunderland Kellen Sunderland
            lewismc Lewis John McGibbney
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: