私はすでにUbuntuにOpen Fstをインストールしており、正常に動作しています。今、Open GRM thrax をインストールしようとしています。2 つの異なるバージョンの thrax をインストールしてみました。
スラックス バージョン 1.1.0:
thraxOpenGrm/thrax-1.1.0$ ./configure
以下は私が得るエラーです。
checking how to hardcode library paths into programs... immediate
checking for bison... no
checking for byacc... no
checking for std::tr1::hash<long long unsigned>... yes
checking for __gnu_cxx::slist<int>... yes
checking fst/fst.h usability... yes
checking fst/fst.h presence... no
configure: WARNING: fst/fst.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: fst/fst.h: proceeding with the compiler's result
checking for fst/fst.h... yes
checking fst/extensions/far/far.h usability... yes
checking fst/extensions/far/far.h presence... no
configure: WARNING: fst/extensions/far/far.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: fst/extensions/far/far.h: proceeding with the compiler's result
checking for fst/extensions/far/far.h... yes
checking fst/extensions/pdt/pdt.h usability... no
checking fst/extensions/pdt/pdt.h presence... no
checking for fst/extensions/pdt/pdt.h... no
configure: error: fst/extensions/pdt/pdt.h header not found
スラックス バージョン 0.1.0:
thraxOpenGrm/thrax-0.1.0$ ./configure
以下は私が得るエラーです。
checking how to hardcode library paths into programs... immediate
checking for bison... no
checking for byacc... no
checking for std::tr1::hash<long long unsigned>... yes
checking for __gnu_cxx::slist<int>... yes
checking fst/fst.h usability... no
checking fst/fst.h presence... no
checking for fst/fst.h... no
configure: error: fst/fst.h header not found
異なるthraxバージョンで異なるエラーをスローします。このフォーラムで解決策を読みました。
http://www.openfst.org/twiki/bin/view/Forum/GrmThraxForum
openfst は で「ビルド」する必要があると書かれてい./configure --enable-far=true
ます。私はopenfstをアンインストールし、./configure --enable-far=true
およびを使用してインストールしまし./configure --enable-far
た。エラーは引き続き発生します。