Difference: GrmNGramForum (92 vs. 93)

Revision 932016-04-17 - KorNat

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

OpenGrm NGram Forum

Line: 47 to 47
  It looks like it can't find the FAR extension to OpenFst. When you install OpenFst, you need to configure with --enable-far so that this particular extension is enabled.
Added:
>
>

KorNat - 2016-04-17 - 13:00

Thank you for your answer, Brian. I compiled the OpenFST 1.5.2 (read somewhere that python bindings are supported in this version) with this configuration: ./configure --enable-pdt --enable-bin --enable-ngram-fsts --enable-far=true --enable-python. I am trying to continue my Ngram compilation, indicating the include path with fst headers (otherwise they are not found at all): ./configure CPPFLAGS="-I../openfst-1.5.2/src/include/". Now the headers are kinda found but looks like they cannot be compiled... checking fst/fst.h usability... no checking fst/fst.h presence... yes configure: WARNING: fst/fst.h: present but cannot be compiled configure: WARNING: fst/fst.h: check for missing prerequisite headers? configure: WARNING: fst/fst.h: see the Autoconf documentation configure: WARNING: fst/fst.h: section "Present But Cannot Be Compiled" configure: WARNING: fst/fst.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to ngram@www.opengrm.org ## configure: WARNING: ## ------------------------------------ ## checking for fst/fst.h... no configure: error: fst/fst.h header not found.

The autotools' page ( https://autotools.io/autoconf/finding.html ) says it has something to do with the incompatibility of the C dialects.. Could it be true? and if so, which C dialect should I use?

 
<--/commentPlugin-->
Log In
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback