红联Linux门户
Linux帮助

安装fcitx时出错

发布时间:2009-05-31 19:53:48来源:红联作者:tig2
nputWindow.o -MD -MP -MF .deps/InputWindow.Tpo -c -o InputWindow.o InputWindow.c
InputWindow.c:31:21: 错误:X11/xpm.h:没有那个文件或目录
InputWindow.c: 在函数‘DrawInputWindow’中:
InputWindow.c:237: 错误:‘XpmAttributes’未声明(在此函数内第一次使用)
InputWindow.c:237: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
InputWindow.c:237: 错误:所在的函数内也只报告一次。)
InputWindow.c:237: 错误:expected ‘;’ before ‘attrib’
InputWindow.c:415: 错误:‘attrib’未声明(在此函数内第一次使用)
InputWindow.c:436: 警告:隐式声明函数‘XpmCreateImageFromData’
InputWindow.c:437: 错误:‘XpmSuccess’未声明(在此函数内第一次使用)
make[2]: *** [InputWindow.o] 错误 1
make[2]: Leaving directory `/home/tig2/下载/fcitx/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/tig2/下载/fcitx'
make: *** [all] 错误 2

解决办法:
sudo apt-get install libxpm-dev
从终端启动fcitx时可能会提示:
Error Creat Chinese Fonts:
只有安装XFT才能避免出现这样的问题
sudo apt-get install libxft-dev

libxpm-dev是什么?哪里有下载?
文章评论

共有 2 条评论

  1. zrl20888 于 2009-06-04 16:18:17发表:

    不好意思 我安装也是失败的

  2. 大宝 于 2009-05-31 20:43:48发表:

    [code]sudo apt-get install build-essential autoconf automake1.9 cvs subversion[/code]额外讯息:Fcitx可以sudo apt-get install的