|
BuildFitx
#介绍Fitx的源代码编译安装 #注意:编译有问题请不要回复本贴,请在issues发帖,或者直接发邮件到 fenghuajun@gmail.com 或者 xusensheng@gmail.com 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 |
Sign in to add a comment
console frozen while doing installation, I'v been waiting for 10 minutes now, no response. last line pkill scim; scim -d
有一个打deb包的朋友说 编译还有个依赖libssl-dev
呵呵,因为有用到 libcrypto.so,这个库是属于 libssl-dev 包的。
否则会报错:cannot find -lcrypto。
刚刚发布的deb包,无法安装,Error:Dependency is not satisfiable :libsqlite3-0, 可是,我已经安装过libsqlite3-0了,不知道怎么回事?
PS1: 五笔暂时没有做好
请问五笔还没有吗?
多个进程的问题有没有解决了?听说有173的版本,可是为什么这边还是170 ?
怎么卸载呢
我之前安装过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'.
和上面朋友遇到的问题一样。 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
Deb版确实装不上。
ubuntu下编译后无法安装请用如下命令:
sudo -E make install
编译后安装用以上命令就ok了。
参考 issue 18
希望作者更新一下build instruction
安裝使用基本正常,但遇到兩個問題: 1、安裝fitx之後,“scim設置”對話框只能打開一次,之後再次從scim界面上點擊右鍵,選擇“scim設置”就無法打開了(刪除fitx後即可恢復),重新進入X或者直接從命令行輸入scim-setup可以打開,不過有一些錯誤信息,具體看貼圖:
2、設置選項裡的項目勾選之後可以生效,但再次打開設置界面,所有選項均呈未勾選狀態,其實已經生效,這樣會造成我不知道哪些選項勾選了,哪些未勾選,因為所有的都呈未勾選狀態。
以上問題在0.2.0和0.5.0上都有遇到,我使用的是archlinux。
It's a perfect free tool
五笔没有标点上词的,而且好像打完词组以后还要按空格键才可以,不知道是不是选了五笔拼音的原因呢。
做个64的deb包吧。
见笑了……
以前设置过scim的配置文件,取消了除了智能拼音意外的所有输入法。 现在按以上的方法安装后,测试引擎也可以,但是没有FITX这个选项,调不出来……
到最后Make时出现下面的错误,有没办法?
/usr/bin/ld: cannot find -lcrypto collect2: ld returned 1 exit status make1?: obj/fitx? 错误 1 make: fitx.all.tool.variables? 错误 2
感谢你的努力哦~
安装了,但是调不出阿?
The installation is all right without any errors. But how to call it out? I've install scim-python and scim-sunpinyin already.
La situazione e' simile con quello che' successo da Taohonker. Non posso chiamare neanche il programma SCIM.
dpkg-genchanges: 二进制上传 - 未包含任何源代码
gpg: “Loya Liu (loya) <loya.liu@gmail.com>”已跳过:私钥不可用 gpg: stdin?: clearsign failed: 私钥不可用dpkg-buildpackage: binary only upload (no source included) dpkg-buildpackage: 警告: 签名 .changes 文件失败 make: deb? 错误 1
嘿嘿,小毛病.