根据安装libsndfile的日志中,您有过时的版本。你有一个标题sndfile.h,但不sndfile.pc pkg配置文件:
configure:14532: checking for SNDFILE
configure:14540: $PKG_CONFIG --exists --print-errors "sndfile"
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
configure:14543: $? = 1
configure:14558: $PKG_CONFIG --exists --print-errors "sndfile"
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
configure:14561: $? = 1
No package 'sndfile' found
configure:14589: result: no
configure:14603: checking sndfile.h usability
configure:14603: gcc -std=gnu99 -c -g -O2 -Wall -
I/Library/Frameworks/Python.framework/Versions/7.3/include/python2.7 -
I/Library/Frameworks/Python.framework/Versions/7.3/include/python2.7 conftest.c >&5
configure:14603: $? = 0
configure:14603: result: yes
为了解决这个问题,要么删除头不要混淆配置或pkg配置支持安装新sndfile。
其实这也应该在sphinxbase中修复,一个错误报告将受到欢迎。
构建过程无法找到sndfile库。这可能是由配置阶段的问题引起的。为了理解这些问题,您需要检查由configure创建的文件config.log。您需要共享该文件以使其他人能够解决此问题。 –
@NikolayShmyrev:谢谢你的回复。我上传了我的config.log – VeilEclipse