Welcome 微信登录

首页 / 操作系统 / Linux / Fedora 11源码安装设置fcitx3.6输入法

Fedora 11下默认的输入法是ibus,虽然比scim好用那么一些,但还是感觉没有fcitx好用,于是就下载最新但fcitx3.6源码编译安装。

现在fcitx项目已经放在狗狗上了,地址如下:http://code.google.com/p/fcitx/ 去地址http://code.google.com/p/fcitx/downloads/list下载当前最新的fcitx3.6版。下载解压并安装:
tar -xvf fcitx-3.6.0-rc.tar.bz2
cd fcitx-3.6.0-rc
./autogen.sh
./configure
make
make 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] 错误 1
make[2]: Leaving directory `/home/mgqw/install/fcitx-3.6.0-rc/src"
make[1]: *** [all-recursive] 错误 1
make[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-packagekit
Loading 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.
无事可做
 
  • 1
  • 2
  • 下一页
Ubuntu 9.04下安装JDK及其配置环境变量Windows 7下安装Grub修复Linux的启动项相关资讯      Fedora 11 
  • 升级吧!Fedora 11所有更新已停止  (06/28/2010 16:28:49)
  • 在Fedora 11中安装Apache2+PHP5+  (01/24/2010 18:28:46)
  • Vista 系统环境硬盘安装Fedora 11  (01/08/2010 13:12:10)
  • Fedora 11 编译alsa 声卡  (02/25/2010 16:07:25)
  • Fedora 11 下硬盘安装(升级)到   (01/08/2010 13:21:21)
  • Fedora 11下7步轻松搞定LAMP安装  (11/16/2009 03:59:45)
本文评论 查看全部评论 (0)
表情: 姓名: 字数