分页: 1 / 1

[问题已解决]fcitx死活装不上了,求教!!!

发表于 : 2007-02-26 12:14
lans
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了,不知道为什么。

发表于 : 2007-02-26 12:18
BigSnake.NET

发表于 : 2007-02-26 12:19
Decease
sudo apt-get -f install

发表于 : 2007-02-26 18:26
lans
用二楼的帖子中的包装后仍然是update-alternatives: Cannot find alternative `/etc/X11/xinit/xinput.d/fcitx'.

发表于 : 2007-02-26 18:29
skyx
楼主其它部分我没有看:只是下面的命令不加sudo 也是可以的,能不加sudo ,则没有必要加sudo

im-switch -s fcitx

发表于 : 2007-02-26 19:00
lans
不加也不行,一开始就试过了

发表于 : 2007-02-26 19:18
BigSnake.NET
update-alternatives --config xinput-zh_CN