configure: error: C++ preprocessor "/lib/cpp" fails sanity check

configure: error: C++ preprocessor "/lib/cpp" fails sanity check

according to some articles on web:

1.http://forum.ubuntu.org.cn/viewtopic.php?f=85&t=102970

出現該情況是由於c++編譯器的相關package沒有安裝,以超級用戶登陸,在終端上執行:

#yum install glibc-headers

#yum install gcc-c++

2.http://wiki.ubuntu.org.cn/index.php?title=EclipseSubversion&variant=zh-cn

To solve the error de>C++ preprocessor "/lib/cpp" fails sanity checkde> while compiling Subversion, you need to download GCC, CPP and G++ by installing the following packages

gcc cpp g++

but that is for other Linux distribution system, my is Ubuntu, so we should install the needed libs

sudo aptitude install gcc cpp g++

this will download and install the essential lib that is build related, such as gcc g++
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章