在Linux上编译安装SUN拼音输入法|Build SunPinyin on GNU/Linux (CentOS/Redhat/Fedora).

〔懒桃原创,转载请注明完整链接http://www.liulantao.com/

= 在Linux上编译安装SUN拼音。 =

Sun Pinyin是最近评价很高的一款中文输入法。

首先安装必须的工具和库文件:
[lax@liulantao-com ~]
$ sudo yum install mercurial scim-devel

如果安装过程中报错,可以添加下面的东西试试:
[lax@liulantao-com ~]$ sudo yum install git gnome-common intltool -y

现在把源代码从库中签出:
[lax@liulantao-com ~]$ hg clone ssh://anon@hg.opensolaris.org/hg/nv-g11n/inputmethod

开始安装过程,以下命令安装使得sun拼音能够在scim中被调用:
[lax@liulantao-com ~]$ cd inputmethod/sunpinyin/ime
[lax@liulantao-com ~]$ ./autogen.sh --prefix=/usr --disable-cle --enable-scim
[lax@liulantao-com ~]$ make
[lax@liulantao-com ~]$ sudo make install

退出桌面,重新登入。从你的SCIM中选择Sun Pinyin就可以了。

--------------------------------------------------------------------------------
Sun Pinyin is a recently high performance chinese input method.

First, Install essential tools and development libraries:
[lax@liulantao-com ~]
$ sudo yum install mercurial scim-devel
 
If something goes wrong in next steps, you may need some of the following packages:
[lax@liulantao-com ~]$ sudo yum install git gnome-common intltool -y

Now, check out the source from opensolaris server:
[lax@liulantao-com ~]$ hg clone ssh://anon@hg.opensolaris.org/hg/nv-g11n/inputmethod

Just install it, with the following commands:
[lax@liulantao-com ~]$ cd inputmethod/sunpinyin/ime
[lax@liulantao-com ~]$ ./autogen.sh --prefix=/usr --disable-cle --enable-scim
[lax@liulantao-com ~]$ make
[lax@liulantao-com ~]$ sudo make install
Logout your desktop and re-login, a fresh sun-pinyin is just there in scim menu.


Liu Lantao
College of Information Science and Technology, Beijing Normal University
EMAIL: liulantao ( at ) gmail ( dot ) com ;
WEBSITE: http://www.liulantao.com/ .
——