単語の IPA 表現を返す Windows でPython のパッケージ epitran https://pypi.org/project/epitran/0.10/を使用しようとしています。英語の場合、ウェブサイトにあるように、ここhttp://tts.speech.cs.cmu.edu/awb/flite-2.0.5-current.tar.bz2から flite をインストールする必要があります。
Webでいくつかの調査を行った後、ファイルをダウンロードし、cygwinを使用してインストールしようとしました。
また、epitran の Web サイトと、Mac OSX に flite をインストールする際のエラーが示唆するように、cp -pd の両方のインスタンスを cp -pR に変更しました。
これまでのところ、cygwin ターミナルで次の行を実行しました。
$ tar xjf flite-2.0.5-current.tar.bz2
$ cd flite-2.0.5-current
しかし、これを実行すると:
$ ./configure && make
次のエラーが表示されます
gcc -I. -DCST_AUDIO_NONE -I../../include -g -O2 -Wall -c auclient.c -o ../../build/x86_64-cygwin/obj/src/audio/auclient.o
In file included from auclient.c:46:0:
../../include/cst_file.h: In function 'c99_vsnprintf':
../../include/cst_file.h:108:20: warning: implicit declaration of function '_vsnprintf_s' [-Wimplicit-function-declaration]
count = _vsnprintf_s(str, size, _TRUNCATE, format, ap);
^~~~~~~~~~~~
../../include/cst_file.h:108:44: error: '_TRUNCATE' undeclared (first use in this function)
count = _vsnprintf_s(str, size, _TRUNCATE, format, ap);
^~~~~~~~~
../../include/cst_file.h:108:44: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [../../config/common_make_rules:105: ../../build/x86_64-cygwin/obj/src/audio/auclient.o] Error 1
make[1]: *** [../config/common_make_rules:133: ../build/x86_64-cygwin/obj/src/.make_build_dirs] Error 2
make: *** [config/common_make_rules:133: build/x86_64-cygwin/obj//.make_build_dirs] Error 2
C++ や Linux の経験がまったくないので、基本的に自分が何をしているのか、何がエラーなのかわかりません。