请问什么是libXpm-dev。。。。nihui 写了:需要 libXpm-devzhj3001 写了:npnufn 写了:http://www.fcitx.org/download/fcitx-3.5 ... ri.tar.bz2
下载这个自己编译吧。
解压缩,进入目录,执行:
./configure --prefix=/usr
make
sudo make install
enter make...
make all-recursive
make[1]: Entering directory `/home/zhj/fcitx'
Making all in doc
make[2]: Entering directory `/home/zhj/fcitx/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhj/fcitx/doc'
Making all in xpm
make[2]: Entering directory `/home/zhj/fcitx/xpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhj/fcitx/xpm'
Making all in lib
make[2]: Entering directory `/home/zhj/fcitx/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhj/fcitx/lib'
Making all in src
make[2]: Entering directory `/home/zhj/fcitx/src'
if gcc -DPKGDATADIR="/usr/share/fcitx" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF ".deps/InputWindow.Tpo" -c -o InputWindow.o InputWindow.c; \
then mv -f ".deps/InputWindow.Tpo" ".deps/InputWindow.Po"; else rm -f ".deps/InputWindow.Tpo"; exit 1; fi
InputWindow.c:30:21: 错误: X11/xpm.h:No such file or directory
InputWindow.c: 在函数 ‘DrawInputWindow’ 中:
InputWindow.c:236: 错误: ‘XpmAttributes’ 未声明 (在此函数内第一次使用)
InputWindow.c:236: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
InputWindow.c:236: 错误: 所在的函数内只报告一次。)
InputWindow.c:236: 错误: expected ‘;’ before ‘attrib’
InputWindow.c:307: 警告: 隐式声明函数 ‘isprint’
InputWindow.c:414: 错误: ‘attrib’ 未声明 (在此函数内第一次使用)
InputWindow.c:435: 警告: 隐式声明函数 ‘XpmCreateImageFromData’
InputWindow.c:436: 错误: ‘XpmSuccess’ 未声明 (在此函数内第一次使用)
make[2]: *** [InputWindow.o] 错误 1
make[2]: Leaving directory `/home/zhj/fcitx/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/zhj/fcitx'
make: *** [all] 错误 2![]()
要怎么用?我现在用回3.4了...