LinuxSir.cn,穿越时空的Linuxsir!

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

大家好,我现在为何都不能编译安装东西了???

[复制链接]
发表于 2005-7-18 16:07:16 | 显示全部楼层 |阅读模式
用rpm安装包可以安装软件,但是用编译安装就不灵了,

而有很多软件都需要编译安装的。

我昨天想编译安装一个新的fcitx,好象./configure就出错了,

今天之好用rpm -ivh fcitx×××了。。。。

今天下载来了一个openQ想要安装,结果出错好象和昨天的一样,

是不是我的环境落后了???gcc版本是:gcc 3.3.2的

我把今天的出错信息贴一下,望高人指点一二。

/usr/local/openq-0.3.2> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for sed... /bin/sed
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
是何原因?谢谢。。。
 楼主| 发表于 2005-7-18 16:59:33 | 显示全部楼层
怕被淹没了,所以再次提一下,

如果有灌水嫌疑,请斑竹原谅。。。

的确用的不久,不会解决。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-19 21:13:38 | 显示全部楼层
google

configure: error: C preprocessor "/lib/cpp" fails sanity check


I get a lot of information,but all of these is from abroad...

so I need to register an account in that web,

"http://www.linuxquestions.org"

Enjoy it.
回复 支持 反对

使用道具 举报

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

本版积分规则

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