红联Linux门户
Linux帮助

安装FCITX时,MAKE一直出错!搞不清楚了(刚才发错区了,汗)

发布时间:2009-08-23 21:04:31来源:红联作者:cqxiaoxiao
[i=s] 本帖最后由 cqxiaoxiao 于 2009-8-23 23:20 编辑 [/i]

昨天看了一天的LINUX的相关命令和教程,今天才学LINUX,像QQ,其它软件都安好了,本来我觉FEDORA上面的五笔还算不错就不安的,但是还是想拿FCTIX练手,所以就安了一天,但是就是安不好,刚开始少GCC,后面又照网上的把其它需要得都安完了。。。但是安了一天,就是一直安不对。。所以就上来问问了。
随便说一下,我是安的FEDORA11版本LINUX
这是我的configure命令:
[root@xiaoking fcitx-3.6]# ./configure
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... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking for sys/wait.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking for X... libraries , headers
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XFT... no
configure: WARNING: No xft found, skipping configure for FreeType and Xft
checking for pid_t... yes
checking for size_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fcitx.spec
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating xpm/Makefile
config.status: creating lib/Makefile
config.status: creating src/version.h
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
这是make部分:
[root@xiaoking fcitx-3.6]# make
make all-recursive
make[1]: Entering directory `/home/xiaoking/Download/fcitx-3.6'
Making all in doc
make[2]: Entering directory `/home/xiaoking/Download/fcitx-3.6/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xiaoking/Download/fcitx-3.6/doc'
Making all in xpm
make[2]: Entering directory `/home/xiaoking/Download/fcitx-3.6/xpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xiaoking/Download/fcitx-3.6/xpm'
Making all in lib
make[2]: Entering directory `/home/xiaoking/Download/fcitx-3.6/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xiaoking/Download/fcitx-3.6/lib'
Making all in src
make[2]: Entering directory `/home/xiaoking/Download/fcitx-3.6/src'
gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -Wall -MT ime.o -MD -MP -MF .deps/ime.Tpo -c -o ime.o ime.c
In file included from ime.c:42:
TrayWindow.h:6:25: error: X11/Xft/Xft.h: No such file or directory
make[2]: *** [ime.o] Error 1
make[2]: Leaving directory `/home/xiaoking/Download/fcitx-3.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xiaoking/Download/fcitx-3.6'
make: *** [all] Error 2
文章评论

共有 8 条评论

  1. litkt 于 2009-08-26 17:10:27发表:

    我用了这么多年Linux,还从来没Make过(o):tx 。
    fcitx有预编译包
    http://www.fcitx.org/main/?q=node/9

  2. cqxiaoxiao 于 2009-08-25 14:06:25发表:

    锟斤拷锟斤拷:
    还得自己编译,估计很难成功,不过楼主精神可嘉
    lemonade 发表于 2009-8-25 13:27

    但是别人安装的时候就没出现这些问题啊?我怎么就遇到这种情况了?
    请告诉我怎么编译?教我下方法

  3. lemonade 于 2009-08-25 13:27:54发表:

    还得自己编译,估计很难成功,不过楼主精神可嘉

  4. cqxiaoxiao 于 2009-08-25 13:15:31发表:

    hantu, 我安装完了XORG-x11-server-devel,还是提示这个

  5. cqxiaoxiao 于 2009-08-25 02:51:02发表:

    OK,thank you!

  6. hantu 于 2009-08-25 01:06:00发表:

    TrayWindow.h:6:25: error: X11/Xft/Xft.h: No such file or directory

    请安装x开发库

  7. cqxiaoxiao 于 2009-08-24 21:26:42发表:

    我顶,我顶顶顶

  8. cqxiaoxiao 于 2009-08-24 18:47:19发表:

    晕,都没人回答,这个问题啊?