编译安装fcitx-3.6的问题,求解

编译打包和其他
回复
头像
yilan198711
帖子: 1636
注册时间: 2008-06-22 13:38
来自: 武汉

编译安装fcitx-3.6的问题,求解

#1

帖子 yilan198711 » 2009-08-01 20:13

yilan@yilan-pardus fcitx-3.6 $ ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 ISO C89... 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... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/home/yilan/Desktop/fcitx-3.6':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

多谢 ,需要安装什么,求解。
mint+gnome
东风唯笑
帖子: 64
注册时间: 2008-12-03 11:00

Re: 编译安装fcitx-3.6的问题,求解

#2

帖子 东风唯笑 » 2009-08-15 0:23

缺少库的支持,我没有从源码安装的精力.你可以在源码的doc中找到帮助,里面说明了除了gcc外还有一个库,你需要安装
头像
yilan198711
帖子: 1636
注册时间: 2008-06-22 13:38
来自: 武汉

Re: 编译安装fcitx-3.6的问题,求解

#3

帖子 yilan198711 » 2009-08-17 14:02

多谢 :em01
mint+gnome
54wco
帖子: 49
注册时间: 2008-02-10 12:35

Re: 编译安装fcitx-3.6的问题,求解

#4

帖子 54wco » 2009-08-21 11:10

代码: 全选

sudo apt-get install build-essential 
头像
killer_1
帖子: 9
注册时间: 2009-10-02 9:01

Re: 编译安装fcitx-3.6的问题,求解

#5

帖子 killer_1 » 2009-12-05 15:42

感谢4楼到 54wco 朋友,安装 build-essential 后可以解决问题
回复