LinuxSir.cn,穿越时空的Linuxsir!

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

fc3下编译Gaim1.1.0的问题

[复制链接]
发表于 2004-12-9 13:28:17 | 显示全部楼层 |阅读模式
./configure之后,出现下面的错误提示:

checking build system type... i686-redhat-linux-gnulibc1
checking host system type... i686-redhat-linux-gnulibc1
checking target system type... i686-redhat-linux-gnulibc1
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 gcc... gcc
checking for C compiler default output file name... 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all

checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check



郁闷了,我的gcc -v是3.4.2的版本 ,不知道怎么解决呢,谢谢个位.
发表于 2004-12-9 13:38:46 | 显示全部楼层
freshrpms.net 不是有编译好的吗,别费劲了
 楼主| 发表于 2004-12-9 13:45:41 | 显示全部楼层
fc3是有自带的,但是我想安装一个新版本的
发表于 2004-12-9 15:24:42 | 显示全部楼层
freshrpms 编译新版本的速度比你想象的要快啊
现在的版本是 gaim-1.1.0-1
 楼主| 发表于 2004-12-9 17:51:58 | 显示全部楼层
其实不只是这个问题,我所有需要编译的程序,./configure之后都出现那个错误提示,小弟刚开始用linux,还请多多帮忙.
另,freshrpms.net 好像没有提供search的功能,不知道怎么找需要的程序呢
 楼主| 发表于 2004-12-9 19:43:36 | 显示全部楼层
这个问题,我真的搞不定了,请这里的兄弟帮一下忙,急死我了,不止是编译gaim,别的也都这样.
发表于 2004-12-9 20:05:15 | 显示全部楼层
which cpp
得输出结果是什么?
 楼主| 发表于 2004-12-9 20:14:30 | 显示全部楼层
得到的结果:

/usr/bin/cpp

谢谢
发表于 2004-12-9 21:02:58 | 显示全部楼层
那为什么会访问 /lib/cpp 呢
google 一下看看吧
发表于 2004-12-9 21:05:02 | 显示全部楼层
第一个链接里说,你可能没有装 gcc-c++
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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