cn源里的fcitx输入法总是自动恢复config文件,无法修改

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
zhj3001
帖子: 81
注册时间: 2007-07-30 13:34

#16

帖子 zhj3001 » 2007-08-11 20:01

nihui 写了:
zhj3001 写了:
npnufn 写了:http://www.fcitx.org/download/fcitx-3.5 ... ri.tar.bz2
下载这个自己编译吧。
解压缩,进入目录,执行:
./configure --prefix=/usr
make
sudo make install

enter make...

make all-recursive
make[1]: Entering directory `/home/zhj/fcitx'
Making all in doc
make[2]: Entering directory `/home/zhj/fcitx/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhj/fcitx/doc'
Making all in xpm
make[2]: Entering directory `/home/zhj/fcitx/xpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhj/fcitx/xpm'
Making all in lib
make[2]: Entering directory `/home/zhj/fcitx/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhj/fcitx/lib'
Making all in src
make[2]: Entering directory `/home/zhj/fcitx/src'
if gcc -DPKGDATADIR="/usr/share/fcitx" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF ".deps/InputWindow.Tpo" -c -o InputWindow.o InputWindow.c; \
then mv -f ".deps/InputWindow.Tpo" ".deps/InputWindow.Po"; else rm -f ".deps/InputWindow.Tpo"; exit 1; fi
InputWindow.c:30:21: 错误: X11/xpm.h:No such file or directory
InputWindow.c: 在函数 ‘DrawInputWindow’ 中:
InputWindow.c:236: 错误: ‘XpmAttributes’ 未声明 (在此函数内第一次使用)
InputWindow.c:236: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
InputWindow.c:236: 错误: 所在的函数内只报告一次。)
InputWindow.c:236: 错误: expected ‘;’ before ‘attrib’
InputWindow.c:307: 警告: 隐式声明函数 ‘isprint’
InputWindow.c:414: 错误: ‘attrib’ 未声明 (在此函数内第一次使用)
InputWindow.c:435: 警告: 隐式声明函数 ‘XpmCreateImageFromData’
InputWindow.c:436: 错误: ‘XpmSuccess’ 未声明 (在此函数内第一次使用)
make[2]: *** [InputWindow.o] 错误 1
make[2]: Leaving directory `/home/zhj/fcitx/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/zhj/fcitx'
make: *** [all] 错误 2
需要 libXpm-dev :arrow: :arrow:
请问什么是libXpm-dev。。。。
要怎么用?我现在用回3.4了...
tyfj
帖子: 48
注册时间: 2007-06-05 20:11

#17

帖子 tyfj » 2007-08-14 21:52

同样问题……修改后第一次重启桌面OK, 再重启一次桌面,就“自动”变成 L-CTRL 中英文切换了。 网上找不到解决方法。 linuxsir 有一篇老贴,可是没有啥用。还是放这里吧:
http://bbs.linuxsir.org/showthread.php? ... post877000

这个是最近的一贴:
http://bbs.linuxsir.org/showthread.php?t=310300
lukid
帖子: 59
注册时间: 2007-08-18 14:13
来自: Hangzhou

#18

帖子 lukid » 2007-08-18 14:20

这个问题有人解决了么?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#19

帖子 BigSnake.NET » 2007-08-18 14:38

已经更新了阿
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
回复