LinuxSir.cn,穿越时空的Linuxsir!

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

新手安装fcitx出错,请帮忙

[复制链接]
发表于 2005-8-11 17:59:46 | 显示全部楼层 |阅读模式
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 build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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 BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... no, consider installing GNU libiconv
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

不能继续了,没有make文件。
请问应该如何解决
 楼主| 发表于 2005-8-11 18:01:35 | 显示全部楼层
我刚安装上FC4,正打算安装五笔
按照http://www.fcitx.org/main/?q=node/76这里的说明
1、卸载 iiimf 所有的包。这步我完成了
2、安装 fcitx-3.1.1.tar.bz2
./configure
然后出现上面的信息,就没了
我查看了一下config.log文件,有以下错误信息:
configure:2479: checking for gcc option to accept ANSI C
configure:2549: gcc -c -g -O2 conftest.c >&5
conftest.c:12:19: error: stdio.h: No such file or directory
conftest.c:13:23: error: sys/types.h: No such file or directory
conftest.c:14:22: error: sys/stat.h: No such file or directory
conftest.c:17: error: syntax error before '*' token
conftest.c:17: warning: 'struct stat' declared inside parameter list
conftest.c:17: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:17: warning: data definition has no type or storage class
conftest.c:46: error: syntax error before 'FILE'
conftest.c:46: warning: 'struct stat' declared inside parameter list
conftest.c:46: error: 'pairnames' declared as function returning a function
conftest.c:46: error: syntax error before 'int'
configure:2555: $? = 1
回复 支持 反对

使用道具 举报

发表于 2005-8-11 21:51:23 | 显示全部楼层
您没有安装glibc-devel这个包
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-11 21:56:38 | 显示全部楼层
那到底在那里装呢?
我已经完全安装了!
回复 支持 反对

使用道具 举报

发表于 2005-8-12 01:37:54 | 显示全部楼层
看看有没有安装??

[beinan@localhost ~]$ rpm -qa |grep glibc-devel
glibc-devel-2.3.5-10
[beinan@localhost ~]$

如果没有显示什么,就是没有安装;


可以在盘中找出来,也可以在下面的地址下载;


http://mirrors.kernel.org/fedora ... l-2.3.5-10.i386.rpm
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-27 09:37:04 | 显示全部楼层
版主,运行rpm -qa |grep glibc-devel这句后,结果和你的一样哦!
到底什么原因呢?
回复 支持 反对

使用道具 举报

发表于 2005-8-27 14:08:24 | 显示全部楼层
具体情况不明,但显然是您的系统安装有问题,请检查一下
回复 支持 反对

使用道具 举报

发表于 2005-8-27 18:24:54 | 显示全部楼层
好象是cpp-xxx.rpm的包没有安装。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-28 10:08:01 | 显示全部楼层
查看了一下
我有装这个包啊,cpp-4.0.0-8
回复 支持 反对

使用道具 举报

发表于 2005-8-28 15:56:50 | 显示全部楼层
gcc-c++?
回复 支持 反对

使用道具 举报

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

本版积分规则

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