fcitx安裝錯誤

錯誤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

發佈了51 篇原創文章 · 獲贊 3 · 訪問量 10萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章