标签:
参考的网址: http://blog.csdn.net/jcjc918/article/details/39032689
错误现象: 执行 buildconf.sh 报错,无法生成configure文件
报错的代码
automake: warnings are treated as errors /usr/share/automake-1.13/am/library.am: warning: ‘libstemmer.a‘: linking libraries using a non-POSIX /usr/share/automake-1.13/am/library.am: archiver requires ‘AM_PROG_AR‘ in ‘configure.ac‘ libstemmer_c/Makefile.am:2: while processing library ‘libstemmer.a‘ /usr/share/automake-1.13/am/library.am: warning: ‘libsphinx.a‘: linking libraries using a non-POSIX /usr/share/automake-1.13/am/library.am: archiver requires ‘AM_PROG_AR‘ in ‘configure.ac‘ src/Makefile.am:14: while processing library ‘libsphinx.a‘
总体意思是: archiver requires ‘AM_PROG_AR‘ in ‘configure.ac‘
解决办法:在 csft-4.1/configure.ac 文件中,查找:
AC_PROG_RANLIB
后面加上
AM_PROG_AR
再次执行 sh buildconf.sh
正确生成了 configure文件了
Sphinx/Coreseek 4.1 执行 buildconf.sh 报错,无法生成configure文件
标签:
原文地址:http://www.cnblogs.com/mingaixin/p/5013191.html