微智科技网
您的当前位置:首页编译phonetisaurus时configure找不到openfst的问题解决

编译phonetisaurus时configure找不到openfst的问题解决

来源:微智科技网

Phonetisaurus

编译

它的编译依赖,在编译openfst时,如果不指定构建路径在系统路径下,生成的include和lib可能就无法被直接引用到。所以在编译Phonetisaurus时,特别是在configure步骤,会提示依赖的openfst找不到。

checking for openfst libraries... 
configure: error: Can't find OpenFST or one or more of its extensions. 
Use --with-openfst-includes and --with-openfst-libs to specify where you have installed OpenFst. 
OpenFst should have been configured with the following flags: 
--enable-static --enable-shared --enable-far --enable-ngram-fsts

起始这里的报错信息说的已经很明显了,需要注意两点

因篇幅问题不能全部显示,请点此查看更多更全内容