学习鸟哥linux私房菜--安装中文输入法fcitx

首先需要卸载前面安装的scim,查阅命令,参考网址如下

http://www.cnblogs.com/propheteia/archive/2012/06/26/2563383.html

链接中博主采用rpm卸载,用到命令rpm -q -a来显示所有安装数据包,但是当在终端中这样操作时发现系统装了茫茫多软件包,一下子屏幕跑过去茫茫多项,而向前回找的时候有一些项终端已经不给显示了,在网上查到可以用管道|more来处理,将命令改为rpm -q -a |more,然后终端就会先刷出一屏来,然后enter一下出一行,可以找到我们的数据包scim-1.4.4-44.e15,rpm -e scim***写在之,终端提示它被scim-pinyin-***应用,所以两个都给卸了。。。然后在rpm -q -a一遍又发现一scim-libs***我去,又卸,不知道有没有什么查找指令,省点人力。。。。当卸的差不多了,突然发现右下角还有scim的输入显示,在终端里打汉字仍然管事,吓尿了。。。重启了一边发现管事了。汗。貌似好多设定都是要重启才管事。。。

 

然后是开始安装fcitx,./configure 失败,参见http://www.cnblogs.com/ylqmf/archive/2011/09/05/2167458.html博主提示应确保安装gcc,于是又安yum install gcc

发现仍然报错,于是查到http://blog.csdn.net/juxie1984/article/details/6577459博主表示应该先安装上各种依赖关系

但是我按照这样来做却不行,显示yum install 各种,成功,但是到了./configure --***就通不过,一直出现

hecking for setlocale... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for asprintf... yes
checking for vasprintf... yes
./configure: line 6027: syntax error near unexpected token `0.35.0‘
./configure: line 6027: `AC_PROG_INTLTOOL(0.35.0)‘
make: *** [config.status] Error 2

这个问题,想了n多办法解决不了,蛋疼

×××××××××××××

然后换了个tar.gz包,然后竟然。/configure通过,但是make不过,出现如下错误:

cd . && /tools/createPYMB ./gbkpy.org ./pyPhrase.org
/bin/sh: /tools/createPYMB: No such file or directory
make[3]: *** [pyphrase.mb] Error 127
make[3]: Leaving directory `/home/afu/anotherfcitx/fcitx-4.0.0/data‘
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/afu/anotherfcitx/fcitx-4.0.0/data‘
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/afu/anotherfcitx/fcitx-4.0.0‘
make: *** [all] Error 2
虽然又失败了但是说明了换个包管事,于是按照大牛们的说法,去code.google 去下了个包,然后运行configure,make.install均通过!参考:http://blog.51yip.com/linux/1529.html

花了两天时间终于用上了这只传说中的小企鹅了哈哈

学习鸟哥linux私房菜--安装中文输入法fcitx,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。