红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

小企鹅输入法安装 问题 方框 解决

发布时间:2009-07-22 19:07:17来源:红联作者:yubinsd
[i=s] 本帖最后由 yubinsd 于 2009-7-22 21:16 编辑 [/i]

小企鹅拼音输入法解压在temp/3下
root运行
cd /tmp/3
./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... yes
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
root@yubin-desktop:/tmp/3# make&&make install
make all-recursive
make[1]: 正在进入目录 `/tmp/3'
Making all in doc
make[2]: 正在进入目录 `/tmp/3/doc'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/tmp/3/doc'
Making all in xpm
make[2]: 正在进入目录 `/tmp/3/xpm'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/tmp/3/xpm'
Making all in lib
make[2]: 正在进入目录 `/tmp/3/lib'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/tmp/3/lib'
Making all in src
make[2]: 正在进入目录 `/tmp/3/src'
gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT ime.o -MD -MP -MF .deps/ime.Tpo -c -o ime.o ime.c
在包含自 ime.c:42 的文件中:
TrayWindow.h:5:21: 错误: X11/xpm.h:没有该文件或目录
In file included from ime.c:42:
TrayWindow.h:20: 错误: expected specifier-qualifier-list before ‘XpmAttributes’
make[2]: *** [ime.o] 错误 1
make[2]:正在离开目录 `/tmp/3/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/tmp/3'
make: *** [all] 错误 2
---------------------------------
哪位大侠知道为什么出现这种错误
我该怎么办??
还有网上有不少安装方法
这样安装不成功
有成功安装的分享下经验
谢谢
--------------现在在终端输入fcitx可以启动了
哈哈
兴奋中
可是打出的汉字候选框是方框阿
自己解决中ing
--------------------
已经解决
并且设置成自动启动
解决方法
http://hi.baidu.com/yubinsd/blog/item/bf126f7bc22424e42e73b3c1.html
文章评论

共有 2 条评论

  1. 大宝 于 2009-07-22 23:02:29发表:

    http://www.linuxdiyf.com/bbs/thread-147408-1-1.html

  2. Trahea 于 2009-07-22 20:16:05发表:

    帮顶上