2014-11-22 25 views
0

我已經安裝了開發者工具,重新啓動了我的機器,安裝了單獨的g ++編譯器等,但仍在運行./configure有這個錯誤:error: C++ preprocessor "/lib/cpp" fails sanity check安裝/ lib/cpp目錄的正確方向的任何提示?謝謝!無法爲OS X 10.9.5安裝Sphinx:'「/ lib/cpp」無法進行完整性檢查'

而且這裏的日誌可能會有所幫助的一部分:

configure:4459: checking how to run the C++ preprocessor 
configure:4490: -E conftest.cc 
./configure: line 4491: -E: command not found 
configure:4496: $? = 127 
configure: failed program was: 
| /* confdefs.h. */ 
| 
| #define PACKAGE_NAME "libsphinxclient" 
| #define PACKAGE_TARNAME "libsphinxclient" 
| #define PACKAGE_VERSION "0.0.1" 
| #define PACKAGE_STRING "libsphinxclient 0.0.1" 
| #define PACKAGE_BUGREPORT "" 
| #define STDC_HEADERS 1 
| #define HAVE_SYS_TYPES_H 1 
| #define HAVE_SYS_STAT_H 1 
| #define HAVE_STDLIB_H 1 
| #define HAVE_STRING_H 1 
| #define HAVE_MEMORY_H 1 
| #define HAVE_STRINGS_H 1 
| #define HAVE_INTTYPES_H 1 
| #define HAVE_STDINT_H 1 
| #define HAVE_UNISTD_H 1 
| #define HAVE_DLFCN_H 1 
| /* end confdefs.h. */ 
| #ifdef __STDC__ 
| # include <limits.h> 
| #else 
| # include <assert.h> 
| #endif 
|   Syntax error 
configure:4490: -E conftest.cc 
./configure: line 4491: -E: command not found 
configure:4496: $? = 127 
configure: failed program was: 
| /* confdefs.h. */ 
| 
| #define PACKAGE_NAME "libsphinxclient" 
| #define PACKAGE_TARNAME "libsphinxclient" 
| #define PACKAGE_VERSION "0.0.1" 
| #define PACKAGE_STRING "libsphinxclient 0.0.1" 
| #define PACKAGE_BUGREPORT "" 
| #define STDC_HEADERS 1 
| #define HAVE_SYS_TYPES_H 1 
| #define HAVE_SYS_STAT_H 1 
| #define HAVE_STDLIB_H 1 
| #define HAVE_STRING_H 1 
| #define HAVE_MEMORY_H 1 
| #define HAVE_STRINGS_H 1 
| #define HAVE_INTTYPES_H 1 
| #define HAVE_STDINT_H 1 
| #define HAVE_UNISTD_H 1 
| #define HAVE_DLFCN_H 1 
| /* end confdefs.h. */ 
| #ifdef __STDC__ 
| # include <limits.h> 
| #else 
| # include <assert.h> 
| #endif 
|   Syntax error 
configure:4490: /lib/cpp conftest.cc 
./configure: line 4491: /lib/cpp: No such file or directory 
configure:4496: $? = 127 
configure: failed program was: 
| /* confdefs.h. */ 
| 
| #define PACKAGE_NAME "libsphinxclient" 
| #define PACKAGE_TARNAME "libsphinxclient" 
| #define PACKAGE_VERSION "0.0.1" 
| #define PACKAGE_STRING "libsphinxclient 0.0.1" 
| #define PACKAGE_BUGREPORT "" 
| #define STDC_HEADERS 1 
| #define HAVE_SYS_TYPES_H 1 
| #define HAVE_SYS_STAT_H 1 
| #define HAVE_STDLIB_H 1 
| #define HAVE_STRING_H 1 
| #define HAVE_MEMORY_H 1 
| #define HAVE_STRINGS_H 1 
| #define HAVE_INTTYPES_H 1 
| #define HAVE_STDINT_H 1 
| #define HAVE_UNISTD_H 1 
| #define HAVE_DLFCN_H 1 
| /* end confdefs.h. */ 
| #ifdef __STDC__ 
| # include <limits.h> 
| #else 
| # include <assert.h> 
| #endif 
|   Syntax error 
configure:4490: /lib/cpp conftest.cc 
./configure: line 4491: /lib/cpp: No such file or directory 
configure:4496: $? = 127 
configure: failed program was: 
| /* confdefs.h. */ 
| 
| #define PACKAGE_NAME "libsphinxclient" 
| #define PACKAGE_TARNAME "libsphinxclient" 
| #define PACKAGE_VERSION "0.0.1" 
| #define PACKAGE_STRING "libsphinxclient 0.0.1" 
| #define PACKAGE_BUGREPORT "" 
| #define STDC_HEADERS 1 
| #define HAVE_SYS_TYPES_H 1 
| #define HAVE_SYS_STAT_H 1 
| #define HAVE_STDLIB_H 1 
| #define HAVE_STRING_H 1 
| #define HAVE_MEMORY_H 1 
| #define HAVE_STRINGS_H 1 
| #define HAVE_INTTYPES_H 1 
| #define HAVE_STDINT_H 1 
| #define HAVE_UNISTD_H 1 
| #define HAVE_DLFCN_H 1 
| /* end confdefs.h. */ 
| #ifdef __STDC__ 
| # include <limits.h> 
| #else 
| # include <assert.h> 
| #endif 
|   Syntax error 
configure:4573: result: /lib/cpp 
configure:4597: /lib/cpp conftest.cc 
./configure: line 4598: /lib/cpp: No such file or directory 
configure:4603: $? = 127 
configure: failed program was: 
| /* confdefs.h. */ 
| 
| #define PACKAGE_NAME "libsphinxclient" 
| #define PACKAGE_TARNAME "libsphinxclient" 
| #define PACKAGE_VERSION "0.0.1" 
| #define PACKAGE_STRING "libsphinxclient 0.0.1" 
| #define PACKAGE_BUGREPORT "" 
| #define STDC_HEADERS 1 
| #define HAVE_SYS_TYPES_H 1 
| #define HAVE_SYS_STAT_H 1 
| #define HAVE_STDLIB_H 1 
| #define HAVE_STRING_H 1 
| #define HAVE_MEMORY_H 1 
| #define HAVE_STRINGS_H 1 
| #define HAVE_INTTYPES_H 1 
| #define HAVE_STDINT_H 1 
| #define HAVE_UNISTD_H 1 
| #define HAVE_DLFCN_H 1 
| /* end confdefs.h. */ 
| #ifdef __STDC__ 
| # include <limits.h> 
| #else 
| # include <assert.h> 
| #endif 
|   Syntax error 
configure:4597: /lib/cpp conftest.cc 
./configure: line 4598: /lib/cpp: No such file or directory 
configure:4603: $? = 127 
configure: failed program was: 
| /* confdefs.h. */ 
| 
| #define PACKAGE_NAME "libsphinxclient" 
| #define PACKAGE_TARNAME "libsphinxclient" 
| #define PACKAGE_VERSION "0.0.1" 
| #define PACKAGE_STRING "libsphinxclient 0.0.1" 
| #define PACKAGE_BUGREPORT "" 
| #define STDC_HEADERS 1 
| #define HAVE_SYS_TYPES_H 1 
| #define HAVE_SYS_STAT_H 1 
| #define HAVE_STDLIB_H 1 
| #define HAVE_STRING_H 1 
| #define HAVE_MEMORY_H 1 
| #define HAVE_STRINGS_H 1 
| #define HAVE_INTTYPES_H 1 
| #define HAVE_STDINT_H 1 
| #define HAVE_UNISTD_H 1 
| #define HAVE_DLFCN_H 1 
| /* end confdefs.h. */ 
| #ifdef __STDC__ 
| # include <limits.h> 
| #else 
| # include <assert.h> 
| #endif 
|   Syntax error 
configure:4672: error: C++ preprocessor "/lib/cpp" fails sanity check 
See 'config.log' for more details. 

回答