Re: [其它]Fitx输入法0.5.1
发表于 : 2008-11-04 11:20
BuildFitx
#介绍Fitx的源代码编译安装
#注意:编译有问题请不要回复本贴,请在issues发帖,或者直接发邮件到 [email protected] 或者 [email protected]
Introduction
介绍Fitx的源代码在Ubuntu下的编译安装
涉及到的库文件
Fitx的源代码涉及到的库包括scim, scim-python, gnustep-base, gnustep-make, sqlite3, iconv, crypto
安装过程
在Ubuntu中scim, iconv, crypto都是自带的. 其中比较麻烦的的是scim-python和gnustep的安装
scim-python的安装
scim-python的源代码安装也有点麻烦, 需要安装几个依赖包
$ sudo apt-get install g++
$ sudo apt-get install libgtk2.0-dev
$ sudo apt-get install python-gtk2-dev
$ sudo apt-get install scim-dev
然后再参考scim-python从源代码安装
gnustep的安装
$ sudo apt-get install gnustep-make
$ sudo apt-get install libgnustep-base-dev
sqlite3的安装
$ sudo apt-get install libsqlite3-dev
取得Fitx的源代码
Fitx还处于开发的初级阶段,从源代码安装,取得Fitx的源代码需要svn的支持,所以还需要安装svn
$ sudo apt-get install subversion
取得源代码
$ svn checkout http://fitx.googlecode.com/svn/trunk/ fitx
Fitx的编译
建立GNUstep环境
$ . /usr/share/GNUstep/Makefiles/GNUstep.sh (注意前面有一个“.”和空格)
编译和安装
$ cd fitx
$ make
$ sudo make install
make install的时候稍微等一下,程序需要一点时间建立词库码表索引
如果上面的命令出现下面的错误信息:
GNUmakefile:1: /common.make: No such file or directory
GNUmakefile:6: /tool.make: No such file or directory
make: *** No rule to make target `/tool.make'. Stop.
说明环境有问题,请使用下面的命令安装:
$ cd fitx
$ make
$ sudo -E make install
Logout
PS1: 在scim的配置菜单的python里面有图形界面配置。配置完成后请重新加载配置。
PS2: 最后一步sudo make install时,必须在X桌面上进行。如果你在远程ssh连接中执行如上操作,那么最后一步将会失败。如果你碰到这个问题,登录到X桌面,然后再次执行
$ . /usr/share/GNUstep/Makefiles/GNUstep.sh
$ sudo -E make install
----------------注意:我已经更新了代码目录下的GNUmakefile和GNUmakefile.postamble。最新的svn应该只要运行"make deb"就自动打包了,什么都不用管了!
----------------ubuntu下安装fitx包需要的依赖scim-python可以在downloads找到.
----------------如果还有打包遇到的问题请积极报告--我进全力解决。谢谢!
----------------weikting
Comment by wgm192, Mar 03, 2008
console frozen while doing installation, I'v been waiting for 10 minutes now, no response. last line pkill scim; scim -d
Comment by weikting, Apr 19, 2008
有一个打deb包的朋友说 编译还有个依赖libssl-dev
Comment by lovelywcm, Apr 20, 2008
呵呵,因为有用到 libcrypto.so,这个库是属于 libssl-dev 包的。
否则会报错:cannot find -lcrypto。
Comment by [email protected], May 20, 2008
刚刚发布的deb包,无法安装,Error:Dependency is not satisfiable :libsqlite3-0, 可是,我已经安装过libsqlite3-0了,不知道怎么回事?
Comment by fuqingbin, Jun 08, 2008
PS1: 五笔暂时没有做好
请问五笔还没有吗?
Comment by flyinglake, Jun 09, 2008
多个进程的问题有没有解决了?听说有173的版本,可是为什么这边还是170 ?
Comment by yibuyiqu, Jul 08, 2008
怎么卸载呢
Comment by wujingming, Jul 19, 2008
我之前安装过scim-python,安装Deb包的时候报错,说安装的scim-pythopn版本不满意。 安装src版本的时候,报错 This is gnustep-make 2.0.2. Type 'make print-gnustep-make-help' for help. Making all for tool fitx... make1?: Nothing to be done for `internal-tool-all'.
两个版本都不成,大兄弟赶快检查一下吧
Comment by ye.xu.hdm, Jul 20, 2008
和上面朋友遇到的问题一样。 sudo make install 报错如下。 GNUmakefile:1: /common.make: No such file or directory GNUmakefile:6: /tool.make: No such file or directory make: No rule to make target `/tool.make'. Stop.
xubuntu 8.04 amd64
Comment by sunyat, Jul 20, 2008
Deb版确实装不上。
Comment by ye.xu.hdm, Jul 22, 2008
ubuntu下编译后无法安装请用如下命令:
sudo -E make install
编译后安装用以上命令就ok了。
参考 issue 18
希望作者更新一下build instruction
Comment by rainylau, Aug 05, 2008
安裝使用基本正常,但遇到兩個問題: 1、安裝fitx之後,“scim設置”對話框只能打開一次,之後再次從scim界面上點擊右鍵,選擇“scim設置”就無法打開了(刪除fitx後即可恢復),重新進入X或者直接從命令行輸入scim-setup可以打開,不過有一些錯誤信息,具體看貼圖:
2、設置選項裡的項目勾選之後可以生效,但再次打開設置界面,所有選項均呈未勾選狀態,其實已經生效,這樣會造成我不知道哪些選項勾選了,哪些未勾選,因為所有的都呈未勾選狀態。
以上問題在0.2.0和0.5.0上都有遇到,我使用的是archlinux。
Comment by xjdeng324, Aug 24, 2008
It's a perfect free tool
Comment by licong1012, Sep 08, 2008
五笔没有标点上词的,而且好像打完词组以后还要按空格键才可以,不知道是不是选了五笔拼音的原因呢。
Comment by zws1101, Oct 02, 2008
做个64的deb包吧。
Comment by zlfziegfeld, Oct 06, 2008
见笑了……
以前设置过scim的配置文件,取消了除了智能拼音意外的所有输入法。 现在按以上的方法安装后,测试引擎也可以,但是没有FITX这个选项,调不出来……
Comment by wc111191, Oct 18, 2008
到最后Make时出现下面的错误,有没办法?
Linking tool fitx ...
/usr/bin/ld: cannot find -lcrypto collect2: ld returned 1 exit status make1?: [obj/fitx] 错误 1 make: [fitx.all.tool.variables] 错误 2
Comment by ywarlock, Oct 25, 2008
感谢你的努力哦~
#介绍Fitx的源代码编译安装
#注意:编译有问题请不要回复本贴,请在issues发帖,或者直接发邮件到 [email protected] 或者 [email protected]
Introduction
介绍Fitx的源代码在Ubuntu下的编译安装
涉及到的库文件
Fitx的源代码涉及到的库包括scim, scim-python, gnustep-base, gnustep-make, sqlite3, iconv, crypto
安装过程
在Ubuntu中scim, iconv, crypto都是自带的. 其中比较麻烦的的是scim-python和gnustep的安装
scim-python的安装
scim-python的源代码安装也有点麻烦, 需要安装几个依赖包
$ sudo apt-get install g++
$ sudo apt-get install libgtk2.0-dev
$ sudo apt-get install python-gtk2-dev
$ sudo apt-get install scim-dev
然后再参考scim-python从源代码安装
gnustep的安装
$ sudo apt-get install gnustep-make
$ sudo apt-get install libgnustep-base-dev
sqlite3的安装
$ sudo apt-get install libsqlite3-dev
取得Fitx的源代码
Fitx还处于开发的初级阶段,从源代码安装,取得Fitx的源代码需要svn的支持,所以还需要安装svn
$ sudo apt-get install subversion
取得源代码
$ svn checkout http://fitx.googlecode.com/svn/trunk/ fitx
Fitx的编译
建立GNUstep环境
$ . /usr/share/GNUstep/Makefiles/GNUstep.sh (注意前面有一个“.”和空格)
编译和安装
$ cd fitx
$ make
$ sudo make install
make install的时候稍微等一下,程序需要一点时间建立词库码表索引
如果上面的命令出现下面的错误信息:
GNUmakefile:1: /common.make: No such file or directory
GNUmakefile:6: /tool.make: No such file or directory
make: *** No rule to make target `/tool.make'. Stop.
说明环境有问题,请使用下面的命令安装:
$ cd fitx
$ make
$ sudo -E make install
Logout
PS1: 在scim的配置菜单的python里面有图形界面配置。配置完成后请重新加载配置。
PS2: 最后一步sudo make install时,必须在X桌面上进行。如果你在远程ssh连接中执行如上操作,那么最后一步将会失败。如果你碰到这个问题,登录到X桌面,然后再次执行
$ . /usr/share/GNUstep/Makefiles/GNUstep.sh
$ sudo -E make install
----------------注意:我已经更新了代码目录下的GNUmakefile和GNUmakefile.postamble。最新的svn应该只要运行"make deb"就自动打包了,什么都不用管了!
----------------ubuntu下安装fitx包需要的依赖scim-python可以在downloads找到.
----------------如果还有打包遇到的问题请积极报告--我进全力解决。谢谢!
----------------weikting
Comment by wgm192, Mar 03, 2008
console frozen while doing installation, I'v been waiting for 10 minutes now, no response. last line pkill scim; scim -d
Comment by weikting, Apr 19, 2008
有一个打deb包的朋友说 编译还有个依赖libssl-dev
Comment by lovelywcm, Apr 20, 2008
呵呵,因为有用到 libcrypto.so,这个库是属于 libssl-dev 包的。
否则会报错:cannot find -lcrypto。
Comment by [email protected], May 20, 2008
刚刚发布的deb包,无法安装,Error:Dependency is not satisfiable :libsqlite3-0, 可是,我已经安装过libsqlite3-0了,不知道怎么回事?
Comment by fuqingbin, Jun 08, 2008
PS1: 五笔暂时没有做好
请问五笔还没有吗?
Comment by flyinglake, Jun 09, 2008
多个进程的问题有没有解决了?听说有173的版本,可是为什么这边还是170 ?
Comment by yibuyiqu, Jul 08, 2008
怎么卸载呢
Comment by wujingming, Jul 19, 2008
我之前安装过scim-python,安装Deb包的时候报错,说安装的scim-pythopn版本不满意。 安装src版本的时候,报错 This is gnustep-make 2.0.2. Type 'make print-gnustep-make-help' for help. Making all for tool fitx... make1?: Nothing to be done for `internal-tool-all'.
两个版本都不成,大兄弟赶快检查一下吧
Comment by ye.xu.hdm, Jul 20, 2008
和上面朋友遇到的问题一样。 sudo make install 报错如下。 GNUmakefile:1: /common.make: No such file or directory GNUmakefile:6: /tool.make: No such file or directory make: No rule to make target `/tool.make'. Stop.
xubuntu 8.04 amd64
Comment by sunyat, Jul 20, 2008
Deb版确实装不上。
Comment by ye.xu.hdm, Jul 22, 2008
ubuntu下编译后无法安装请用如下命令:
sudo -E make install
编译后安装用以上命令就ok了。
参考 issue 18
希望作者更新一下build instruction
Comment by rainylau, Aug 05, 2008
安裝使用基本正常,但遇到兩個問題: 1、安裝fitx之後,“scim設置”對話框只能打開一次,之後再次從scim界面上點擊右鍵,選擇“scim設置”就無法打開了(刪除fitx後即可恢復),重新進入X或者直接從命令行輸入scim-setup可以打開,不過有一些錯誤信息,具體看貼圖:
2、設置選項裡的項目勾選之後可以生效,但再次打開設置界面,所有選項均呈未勾選狀態,其實已經生效,這樣會造成我不知道哪些選項勾選了,哪些未勾選,因為所有的都呈未勾選狀態。
以上問題在0.2.0和0.5.0上都有遇到,我使用的是archlinux。
Comment by xjdeng324, Aug 24, 2008
It's a perfect free tool
Comment by licong1012, Sep 08, 2008
五笔没有标点上词的,而且好像打完词组以后还要按空格键才可以,不知道是不是选了五笔拼音的原因呢。
Comment by zws1101, Oct 02, 2008
做个64的deb包吧。
Comment by zlfziegfeld, Oct 06, 2008
见笑了……
以前设置过scim的配置文件,取消了除了智能拼音意外的所有输入法。 现在按以上的方法安装后,测试引擎也可以,但是没有FITX这个选项,调不出来……
Comment by wc111191, Oct 18, 2008
到最后Make时出现下面的错误,有没办法?
Linking tool fitx ...
/usr/bin/ld: cannot find -lcrypto collect2: ld returned 1 exit status make1?: [obj/fitx] 错误 1 make: [fitx.all.tool.variables] 错误 2
Comment by ywarlock, Oct 25, 2008
感谢你的努力哦~