我想,由于当前的espeak公式较旧,我会将espeak公式更新为最新版本。
我可以按照espeak-ng上要执行的指南在本地构建和安装
./autogen.sh
./configure
make && make install
但是相同的步骤
share.install "espeak-ng-data"
doc.install Dir["docs/*"]
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
酿造失败,here is the file I updated
我得到错误
Last 15 lines from /Users/austek/Library/Logs/Homebrew/espeak-ng/03.make:
CC src/libespeak-ng/test_la-fifo.lo
CCLD src/libespeak-ng-test.la
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libespeak-ng-test.a(test_la-espeak_command.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libespeak-ng-test.a(test_la-fifo.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libespeak-ng-test.a(test_la-espeak_command.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: src/.libs/libespeak-ng-test.a(test_la-fifo.o) has no symbols
CCLD tests/readclause.test
CC tests/api_test-api.o
CCLD tests/api.test
ESPEAK_DATA_PATH=/private/tmp/espeak-ng-20190507-11315-19vs4ni/espeak-ng-1.49.2 src/espeak-ng --compile-intonations && \
ESPEAK_DATA_PATH=/private/tmp/espeak-ng-20190507-11315-19vs4ni/espeak-ng-1.49.2 src/espeak-ng --compile-phonemes && \
touch phsource/phonemes.stamp
Error processing file '/private/tmp/espeak-ng-20190507-11315-19vs4ni/espeak-ng-1.49.2/../phsource/intonation': No such file or directory.
make[1]: *** [phsource/phonemes.stamp] Error 1
make: *** [all] Error 2