configure: error: C++ preprocessor “/lib/cpp“ fails sanity check
生活随笔
收集整理的這篇文章主要介紹了
configure: error: C++ preprocessor “/lib/cpp“ fails sanity check
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一:錯誤發生情景:
安裝gcc時,使用make命令時,報如下錯誤:
... configure: error: C++ preprocessor "/lib/cpp" fails sanity check ....二、錯誤原因:
缺少必要的C++庫。
三、解決:
(1) CentOS系統,運行命令:
yum install glibc-headers
yum install gcc-c++
(2) Ubuntu系統中,運行命令:
apt-get install build-essential
apt-get install g++
總結
以上是生活随笔為你收集整理的configure: error: C++ preprocessor “/lib/cpp“ fails sanity check的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 语义网络表示法练习
- 下一篇: 关于群晖 transmission安装及