fcitx安装错误

来源:互联网 发布:如何增加空气湿度 知乎 编辑:程序博客网 时间:2024/05/08 23:13

错误1:

TrayWindow.h:5:21: error: X11/xpm.h: No such file or directory
In file included from ime.c:42:
TrayWindow.h:20: error: expected specifier-qualifier-list before ‘XpmAttributes’
make[2]: *** [ime.o] Error 1
make[2]: Leaving directory `/home/esinhee/src/fcitx-3.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/esinhee/src/fcitx-3.6.2'
make: *** [all] Error 2

 

解决办法:
sudo apt-get install libxpm-dev

错误2:

/usr/bin/ld: cannot find -lXtst

解决: aptitude install libxtst-dev