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死活装不上了,求教!!!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 232
- 注册时间: 2006-11-11 18:37
[问题已解决]fcitx死活装不上了,求教!!!
上次由 lans 在 2007-02-28 16:17,总共编辑 1 次。
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 232
- 注册时间: 2006-11-11 18:37
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系: