找回密码
 注册
查看: 791|回复: 2

configure时出错

[复制链接]
发表于 2006-7-27 12:45:14 | 显示全部楼层 |阅读模式
对XConfconfigure,出错:
/configure --prefix=/usr/
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
请问这是什么错误?
 楼主| 发表于 2006-7-27 12:47:57 | 显示全部楼层

Re: configure时出错

[quote:f41c5ddffc="yeale"]对XConfconfigure,出错:
/configure --prefix=/usr/
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
请问这是什么错误?[/quote]

"/lib/cpp" fails sanity check,cpp我也装了最新版的。
回复

使用道具 举报

 楼主| 发表于 2006-7-27 13:56:06 | 显示全部楼层
原来是没有装gcc-c++,装了后可以了。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-6 19:08 , Processed in 0.022394 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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