C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details
Ubuntu 12.04环境下编译xapian时报此错误,因为从来没有在此系统下跑过C++,所以用C++编译器的时候出现此问题
出现该情况是由于c++编译器的相关package没有安装,以root用户登陆,在终端上执行:
# sudo get-apt install glibc-headers
# sudo get-apt install gcc-c++
也可以
#sudo apt-get install build-essential
通过第二种方法安装完毕后,编译通过
转载于:https://www.cnblogs.com/xiaoxiaff/p/3961080.html
C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details相关推荐
- Configure: error: C preprocessor “/lib/cpp“ fails sanity check
Configure: error: C preprocessor "/lib/cpp" fails sanity check mac 安装软件时遇到问题 gcc 和 cpp fai ...
- error: C++ preprocessor “/lib/cpp“ fails sanity check错误解决方法
error: C++ preprocessor "/lib/cpp" fails sanity check错误解决方法 参考文章: (1)error: C++ preprocess ...
- configure: error: C++ preprocessor “/lib/cpp“ fails sanity check
一:错误发生情景: 安装gcc时,使用make命令时,报如下错误: ... configure: error: C++ preprocessor "/lib/cpp" fails ...
- configure: error: C++ preprocessor /lib/cpp fails sanity check
configure: error: C++ preprocessor "/lib/cpp" fails sanity check 问题的根源是缺少必要的C++库. 如果是CentO ...
- configure: error: C preprocessor “/lib/cpp“ fails sanity check错误解决办法
centos系统,在编译安装软件包时报错 configure: error: C preprocessor "/lib/cpp" fails sanity check 1.可能缺少 ...
- fails sanity check错误的解决方法
fails sanity check的解决方法 问题原因:编译器缺乏必要的package: 解决办法:运行yum install glibc-headers gcc-c++即可解决
- configure: error: GD build test failed. Please check the config.log
Linux 源代码包配置PHP时出错:configure: error: GD build test failed. Please check the config.log Ps: 正确解答此问题者, ...
- python报错:fails to pass a sanity check due to a bug in the windows runtime
Python报错(Anaconda或者PyCharm): RuntimeError: The current Numpy installation ('D:\Develop\anaconda\lib\ ...
- Python 使用numpy报错:runtimeError: package fails to pass a sanity check解决方法
Python中使用numpy和pandas时报错:RuntimeError: The current Numpy installation ('...\venv\lib\site-packages\n ...
最新文章
- select 1 from table
- 扎心!程序员泪奔的8个瞬间
- 线性代数不深入,机器学习两行泪!
- python3中实现tar_Python3实现将文件树中所有文件和子目录归档到tar压缩文件的方法...
- 4国语言软件下载网站源码
- 小白学深度之LSTM长短期记忆神经网络——深度AI科普团队
- Python学习笔记之类(三)
- Source Insight 的使用
- struts的action访问servlet的IOC方式与非IOC方式
- 用于旅行商问题的离散布谷鸟算法
- ruckus telnet java_ruckus常用配置方法.pdf
- Matlab画出漂亮的三维散点图
- Python读取docx表格中的合并单元格信息
- 《Microduino实战》——1.4 开源硬件
- TCP文件传输服务器
- python dataframe dropna_在Python中使用熊猫在两个DataFrame之间进行值...
- 《曼巴精神:科比自传》读书摘记
- 计算共形几何暑假课lecture4
- 批量改尺寸的软件哪个好?这款工具可以提升工作效率
- (26)打鸡儿教你Vue.js
热门文章
- 隐藏html和php后缀的简易方法
- Arthas实践--快速排查Spring Boot应用404/401问题
- react-navigation StackNavigator 快速点击会多次跳转页面
- asp.net mvc 依赖缓存启动项配置
- 菜鸟学习C++练笔之整理搜狗2008版语料库--获取分类语料库
- 美国富人如何“逃税”?
- OSI(Open System Interconnect)开放式系统互联
- 孩子们的游戏(圆圈中最后剩下的数)
- Web后端学习笔记Flask(2)模板
- linux如何看java安装路径,linux查看java的安装路径