Fedora 11源码安装设置fcitx3.6输入法

Fedora 11下默认的输入法是ibus,虽然比scim好用那么一些,但还是感觉没有fcitx好用,于是就下载最新但fcitx3.6源码编译安装。现在fcitx项目已经放在狗狗上了,地址如下: 去地址下载当前最新的fcitx3.6版。下载解压并安装:tar -xvf fcitx-3.6.0-rc.tar.bz2cd fcitx-3.6.0-rc./autogen.sh./configuremakemake install 在make的时候报错:

InputWindow.c:31:21: 错误:X11/xpm.h:没有那个文件或目录InputWindow.c: 在函数‘DrawInputWindow’中:InputWindow.c:237: 错误:‘XpmAttributes’未声明(在此函数内第一次使用)InputWindow.c:237: 错误:(即使在一个函数内多次出现,,每个未声明的标识符在其InputWindow.c:237: 错误:所在的函数内也只报告一次。)InputWindow.c:237: 错误:expected ‘;’ before ‘attrib’InputWindow.c:415: 错误:‘attrib’未声明(在此函数内第一次使用)InputWindow.c:436: 警告:隐式声明函数‘XpmCreateImageFromData’InputWindow.c:437: 错误:‘XpmSuccess’未声明(在此函数内第一次使用)make[2]: *** [InputWindow.o] 错误 1make[2]: Leaving directory `/home/mgqw/install/fcitx-3.6.0-rc/src’make[1]: *** [all-recursive] 错误 1make[1]: Leaving directory `/home/mgqw/install/fcitx-3.6.0-rc’make: *** [all] 错误

网上一搜索说是没有libxpm开发包,并且给出里Ubuntu的解决办法:sudo apt-get install libxpm-dev从终端启动fcitx时可能会提示:Error Creat Chinese Fonts:只有安装XFT才能避免出现这样的问题sudo apt-get install libxft-dev我的Fedora 11依样画葫芦,把apt改成yum,发现找不到rpm包让我很郁闷:

[root@mgqw linuxqq_v1.0]# yum install libxpm-dev载入插件: fastestmirror, presto, refresh-packagekitLoading mirror speeds from cached hostfile * fedora: ftp.cuhk.edu.hk * rpmfusion-free: mirrors.tummy.com * rpmfusion-free-updates: mirrors.tummy.com * rpmfusion-nonfree: mirrors.tummy.com * rpmfusion-nonfree-updates: mirrors.tummy.com * updates: mirror.nus.edu.sg设置安装进程No package libxpm-dev available.无事可做

午餐,晚餐。或许吃得不好,可是却依旧为对方擦去嘴角的油渍。

Fedora 11源码安装设置fcitx3.6输入法

相关文章:

你感兴趣的文章:

标签云: