QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1141|回复: 5

install fcitx error?

[复制链接]
发表于 2004-1-14 20:54:11 | 显示全部楼层 |阅读模式
because i want to use fcitx to input chinese language,so i download a
fcitx-2.0.1.tar.bz2.
1. bzip2 -d fcitx-2.0.1.tar.bz2
2. tar -xvf fcitx-2.0.1.tar
3. cd fcitx-2.0.1
4. make clean && make && make install
then there is a error, it is:
make:***[InputWindow.o] Error 1.

why???
i am  a newer,please tell me enough information.
Thanks a lot!!
发表于 2004-1-15 10:44:58 | 显示全部楼层
信息太少了
回复

使用道具 举报

发表于 2004-1-15 13:44:17 | 显示全部楼层
壓縮包解開以后:
4 ./CONFIGURE
5 MAKE FCITX
6 MAKE INSTALL
MAKE CLEAN是卸載軟件包!
我就知道這么多,我今天也在裝這個包,裝成功了但不知如何配置,我打出了字但就是打不到窗口里?     
回复

使用道具 举报

 楼主| 发表于 2004-1-15 14:10:00 | 显示全部楼层
# make clean && make && make install
rm -f *.o fcitx fcitx.noxft
cd IMdkit/lib; make clean
make[1]: Entering directory `/user/software/fcitx-2.0.1/IMdkit/lib'
rm -f libXimd.a *.o *.bak
make[1]: Leaving directory `/user/software/fcitx-2.0.1/IMdkit/lib'
cd IMdkit/lib; make
make[1]: Entering directory `/user/software/fcitx-2.0.1/IMdkit/lib'
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include IMConn.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include IMValues.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include IMMethod.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include FrameMgr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nIMProto.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nAttr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nMethod.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nUtil.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nPtHdr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nIc.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nClbk.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nX.c
ar clq libXimd.a IMConn.o IMValues.o IMMethod.o FrameMgr.o i18nIMProto.o i18nAttr.o i18nMethod.o i18nUtil.o i18nPtHdr.o i18nIc.o i18nClbk.o i18nX.o
ranlib libXimd.a
make[1]: Leaving directory `/user/software/fcitx-2.0.1/IMdkit/lib'
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` IC.c
/bin/sh: line 1: xft-config: command not found
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` py.c
/bin/sh: line 1: xft-config: command not found
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` ime.c
/bin/sh: line 1: xft-config: command not found
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` InputWindow.c
/bin/sh: line 1: xft-config: command not found
InputWindow.c:6:22: ft2build.h: No such file or directory
InputWindow.c:7:25: X11/Xft/Xft.h: No such file or directory
InputWindow.c:62: parse error before '*' token
InputWindow.c:62: warning: type defaults to `int' in declaration of `xftFont'
InputWindow.c:62: warning: data definition has no type or storage class
InputWindow.c: In function `CalculateInputWindowHeight':
InputWindow.c:109: `XGlyphInfo' undeclared (first use in this function)
InputWindow.c:109: (Each undeclared identifier is reported only once
InputWindow.c:109: for each function it appears in.)
InputWindow.c:109: parse error before "extents"
InputWindow.c:125: warning: implicit declaration of function `XftTextExtentsUtf8'
InputWindow.c:125: `extents' undeclared (first use in this function)
make: *** [InputWindow.o] Error 1
回复

使用道具 举报

 楼主| 发表于 2004-1-15 14:20:18 | 显示全部楼层
# rpm -q XFree86-devel
package XFree86-devel is not installed
# rpm -ivh XFree86-devel-4.2.0-72.i386.rpm
warning: XFree86-devel-4.2.0-72.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:XFree86-devel          ########################################### [100%]
error: unpacking of archive failed on file /usr/include/X11: cpio: rename failed - Is a directory
回复

使用道具 举报

 楼主| 发表于 2004-1-15 14:22:50 | 显示全部楼层
"正确安装了gcc编译器和XFree86的开发包(通常名为XFree86-devel),就可以正常编译fcitx"

# rpm -q gcc
gcc-3.2-7
# rpm -q XFree86-devel
package XFree86-devel is not installed
# rpm -ivh XFree86-devel-4.2.0-72.i386.rpm
warning: XFree86-devel-4.2.0-72.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:XFree86-devel          ########################################### [100%]
error: unpacking of archive failed on file /usr/include/X11: cpio: rename failed - Is a directory
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-18 02:36 , Processed in 0.068994 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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