install fcitx error?
because i want to use fcitx to input chinese language,so i download afcitx-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:*** Error 1.
why???
i ama newer,please tell me enough information.
Thanks a lot!! 信息太少了 壓縮包解開以后:
4 ./CONFIGURE
5 MAKE FCITX
6 MAKE INSTALL
MAKE CLEAN是卸載軟件包!
我就知道這么多,我今天也在裝這個包,裝成功了但不知如何配置,我打出了字但就是打不到窗口里? :x:cry: # make clean && make && make install
rm -f *.o fcitx fcitx.noxft
cd IMdkit/lib; make clean
make: Entering directory `/user/software/fcitx-2.0.1/IMdkit/lib'
rm -f libXimd.a *.o *.bak
make: Leaving directory `/user/software/fcitx-2.0.1/IMdkit/lib'
cd IMdkit/lib; make
make: 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: 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: *** Error 1 # 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... ###########################################
1:XFree86-devel ###########################################
error: unpacking of archive failed on file /usr/include/X11: cpio: rename failed - Is a directory "正确安装了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... ###########################################
1:XFree86-devel ###########################################
error: unpacking of archive failed on file /usr/include/X11: cpio: rename failed - Is a directory
页:
[1]