Configure: error: C preprocessor “/lib/cpp“ fails sanity check
生活随笔
收集整理的這篇文章主要介紹了
Configure: error: C preprocessor “/lib/cpp“ fails sanity check
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Configure: error: C preprocessor “/lib/cpp” fails sanity check
mac 安裝軟件時遇到問題
gcc 和 cpp fails sanity check
只要把 CC 換成 clang, CXX 換成clang++
也可以直接cofigure
./configure CC=clang CXX=clang++po 一下各個參數
CC=‘clang’
CCDEPMODE=‘depmode=gcc3’
CFLAGS=’-g -O2’
CPP=‘clang -E’
CPPFLAGS=’’
CXX=‘clang++’
CXXCPP=‘clang++ -E’
找了好多資料才安裝成功, 之前失敗的原因是還改了CXXCPP 和 CPP, 這倆會自動找的,不需要更改
總結
以上是生活随笔為你收集整理的Configure: error: C preprocessor “/lib/cpp“ fails sanity check的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 资源下载--使用Proxy Switch
- 下一篇: 成本中心和利润中心