Configure: error: C preprocessor “/lib/cpp” fails sanity check

mac 安装软件时遇到问题
gcc 和 cpp fails sanity check
只要把 CC 换成 clang, CXX 换成clang++

export CC=clang
export 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相关推荐

  1. configure: error: C++ preprocessor “/lib/cpp“ fails sanity check

    一:错误发生情景: 安装gcc时,使用make命令时,报如下错误: ... configure: error: C++ preprocessor "/lib/cpp" fails ...

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

    configure: error: C++ preprocessor "/lib/cpp" fails sanity check 问题的根源是缺少必要的C++库. 如果是CentO ...

  3. configure: error: C preprocessor “/lib/cpp“ fails sanity check错误解决办法

    centos系统,在编译安装软件包时报错 configure: error: C preprocessor "/lib/cpp" fails sanity check 1.可能缺少 ...

  4. error: C++ preprocessor “/lib/cpp“ fails sanity check错误解决方法

    error: C++ preprocessor "/lib/cpp" fails sanity check错误解决方法 参考文章: (1)error: C++ preprocess ...

  5. C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details

    Ubuntu 12.04环境下编译xapian时报此错误,因为从来没有在此系统下跑过C++,所以用C++编译器的时候出现此问题 出现该情况是由于c++编译器的相关package没有安装,以root用户 ...

  6. fails sanity check错误的解决方法

    fails sanity check的解决方法 问题原因:编译器缺乏必要的package: 解决办法:运行yum install glibc-headers gcc-c++即可解决

  7. configure: error: Cannot find ldap libraries in /usr/lib

    问题描述 今天在centos 7.3 64位版本上安装LNMP,config php的时候出现下面错误而退出 configure: error: Cannot find ldap libraries ...

  8. RuntimeError: NCCL error in:torch/lib/c10d/ProcessGroupNCCL.cpp:514, invalid usage, NCCL version 踩坑

    运行pytorch分布式任务时,可能在执行dist.barrier()这条代码时会触发NCCL错误:RuntimeError: NCCL error in: ../torch/lib/c10d/Pro ...

  9. 安装keepalive错误:configure: error: No SO_MARK declaration in headers

    安装keepalive的时候,在configure的时候遇到的错误: [root@gw keepalived-1.2.16]# ./configure checking for gcc... gcc ...

最新文章

  1. hibernate 高级映射 --张国亮总结第一季
  2. Kettle使用_10 存储过程与命名参数
  3. 程序员到底该怎么给女朋友挑礼物
  4. JavaScript_process01
  5. 一张图说明我们为什么要关注 HTML5
  6. QT中的滚动条QScrollArea
  7. 一张图理解什么是TP、TN、FP、FN
  8. 02:MongoDB操作
  9. 广西大学计算机英语复试的内容,广西大学计算机专业的研究生复试时
  10. centos光盘修复引导_Centos6 系统修复grub
  11. python序列操作_序列操作
  12. Android MultiAutocompleteTextView
  13. 读《松本行弘的程序世界》——松本行弘眼中Ruby受欢迎的原因
  14. 设置win10自动登录/免密码自动登录方法
  15. 三天搞定射频识别技术(三)3.1 NFC概述
  16. matlabrobert锐化_图像锐化matlab算法
  17. 蓝桥杯——调手表(python解答)
  18. 百度 BAE 项目部署
  19. 使用Excel TRIMMEAN忽略异常值
  20. 极客时间所有课程返现海报集合

热门文章

  1. 钉钉邮箱登录入口_阿里企业邮箱发信失败 报错:554reject by content_「阿里云企业邮箱_阿里企业邮箱」指定经销商热线:400-855...
  2. 浅谈 Nyquist–Shannon(奈奎斯特-香农)采样定理
  3. 普林斯顿大学的计算机学课的作业
  4. 内存错误检测工具——kfence工作原理分析
  5. 过敏体质是一种什么样的体验
  6. unity3d实现简单的打飞碟游戏
  7. vulntarget-b靶场详细通关记录
  8. 老牛知点所以然-Linux(Ubuntu)配置安卓开发环境及过程中常见问题解决
  9. TimestampType.nullSafeGet(203) - could not read column value from result set: xxx; An SQLExc
  10. css超出部分...样式或者多行...