LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 894|回复: 5

gcc ,g++已装,仍然出错!

[复制链接]
发表于 2006-6-29 11:59:21 | 显示全部楼层 |阅读模式
编译软件时出现以下错误:
configure: error: C preprocessor "/lib/cpp" fails sanity check
在论坛搜索相关贴子,据说是没有装g++
但是我装了后编译,仍然出现错误
configure: error: C preprocessor "/lib/cpp" fails sanity check
请问是怎么回事啊!
发表于 2006-6-29 12:12:39 | 显示全部楼层
编译库不只这两个
关键在于你要看一下说明,看它需要哪些编译程序而不是一股脑的把编译程序全安装上
看readme,install才是正道啊
回复 支持 反对

使用道具 举报

发表于 2006-6-29 12:14:00 | 显示全部楼层
对了,你所安装的软件对这些编译软件的版本要求是多少啊?
也有可能是版本太底了
回复 支持 反对

使用道具 举报

发表于 2006-6-30 04:58:14 | 显示全部楼层
sorry, I just saw this post, and posted another new topic...

I´ve got the same problem... And I copied my error message in the post here:
http://www.linuxsir.cn/bbs/showthread.php?t=262997

thanks
回复 支持 反对

使用道具 举报

发表于 2006-6-30 05:07:12 | 显示全部楼层
Post by yhxfh
编译软件时出现以下错误:
configure: error: C preprocessor "/lib/cpp" fails sanity check
在论坛搜索相关贴子,据说是没有装g++
但是我装了后编译,仍然出现错误
configure: error: C preprocessor "/lib/cpp" fails sanity check
请问是怎么回事啊!
g++ 是否真的装上了?

g++ -v 的结果是?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-1 00:36:19 | 显示全部楼层
终于解决了,呵呵!
多谢各位了啊!
我继续学习中...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表