[问题已解决]fcitx死活装不上了,求教!!!
发表于 : 2007-02-26 12:14
fcitx死活装不上了,求教!!!
去年装fcitx非常顺利,今天重装了一次系统,再装,死活装不上了,情况如下:
1、sudo apt-get install im-switch fcitx
安装完成后执行sudo im-switch -s fcitx
提示update-alternatives: Cannot find alternative `/etc/X11/xinit/xinput.d/fcitx'.
到/etc/X11/xinit/xinput.d下面去看了一下,fcitx文件是存在的。
2、sudo apt-get remove fcitx
到fcitx的主页上下载fcitx3.4.2的源码
执行configure正常
执行make出错,提示如下:
InputWindow.c:30:21: error: X11/xpm.h: 沒有此一檔案或目錄
InputWindow.c: In function ‘DrawInputWindow’:
InputWindow.c:228: error: ‘XpmAttributes’ undeclared (first use in this function)
InputWindow.c:228: error: (Each undeclared identifier is reported only once
InputWindow.c:228: error: for each function it appears in.)
InputWindow.c:228: error: expected ‘;’ before ‘attrib’
InputWindow.c:397: error: ‘attrib’ undeclared (first use in this function)
InputWindow.c:418: warning: implicit declaration of function ‘XpmCreateImageFromData’
InputWindow.c:419: error: ‘XpmSuccess’ undeclared (first use in this function)
make[2]: *** [InputWindow.o] Error 1
make[2]: Leaving directory `/home/lans/Desktop/fcitx-3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lans/Desktop/fcitx-3.5'
make: *** [all] Error 2
这两种方法都装不成fcitx了,不知道为什么。
去年装fcitx非常顺利,今天重装了一次系统,再装,死活装不上了,情况如下:
1、sudo apt-get install im-switch fcitx
安装完成后执行sudo im-switch -s fcitx
提示update-alternatives: Cannot find alternative `/etc/X11/xinit/xinput.d/fcitx'.
到/etc/X11/xinit/xinput.d下面去看了一下,fcitx文件是存在的。
2、sudo apt-get remove fcitx
到fcitx的主页上下载fcitx3.4.2的源码
执行configure正常
执行make出错,提示如下:
InputWindow.c:30:21: error: X11/xpm.h: 沒有此一檔案或目錄
InputWindow.c: In function ‘DrawInputWindow’:
InputWindow.c:228: error: ‘XpmAttributes’ undeclared (first use in this function)
InputWindow.c:228: error: (Each undeclared identifier is reported only once
InputWindow.c:228: error: for each function it appears in.)
InputWindow.c:228: error: expected ‘;’ before ‘attrib’
InputWindow.c:397: error: ‘attrib’ undeclared (first use in this function)
InputWindow.c:418: warning: implicit declaration of function ‘XpmCreateImageFromData’
InputWindow.c:419: error: ‘XpmSuccess’ undeclared (first use in this function)
make[2]: *** [InputWindow.o] Error 1
make[2]: Leaving directory `/home/lans/Desktop/fcitx-3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lans/Desktop/fcitx-3.5'
make: *** [all] Error 2
这两种方法都装不成fcitx了,不知道为什么。