2011/04/30

[Linux] ubuntu 11.04 上的 oxim 輸入法

老實說,我在 11.04 上面 build oxim 失敗了,錯誤訊息如下:

.ui/../oxim-setup.ui.h: In member function ‘void OXIM_Setup::IMListInit()’:
.ui/../oxim-setup.ui.h:296:85: error: cannot call constructor ‘QIconSet::QIconSet’ directly
.ui/../oxim-setup.ui.h:296:85: error:   for a function-style cast, remove the redundant ‘::QIconSet’
.ui/../oxim-setup.ui.h:297:81: error: cannot call constructor ‘QIconSet::QIconSet’ directly
.ui/../oxim-setup.ui.h:297:81: error:   for a function-style cast, remove the redundant ‘::QIconSet’
.ui/../oxim-setup.ui.h:298:87: error: cannot call constructor ‘QIconSet::QIconSet’ directly
.ui/../oxim-setup.ui.h:298:87: error:   for a function-style cast, remove the redundant ‘::QIconSet’
make[4]: *** [.obj/oxim-setup.o] Error 1
make[4]: Leaving directory `/home/anton/code/oxim/oxim-setup-1.4.4/src/oxim-setup-qt3'
make[3]: *** [oxim-setup-qt3] Error 2
make[3]: Leaving directory `/home/anton/code/oxim/oxim-setup-1.4.4/src/oxim-setup-qt3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/anton/code/oxim/oxim-setup-1.4.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/anton/code/oxim/oxim-setup-1.4.4'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
anton@anton-nb:~/code/oxim/oxim-setup-1.4.4$
anton@anton-nb:~/code/oxim/oxim-setup-1.4.4$
不過還好的是,以前 build 給 ubuntu 10.10 的 oxim deb 包裝 還可以使用,所以就下載下來安裝就先用著了。

對了,不要忘記,安裝完後要
im-switch -a all_ALL oxim

指定現在使用的輸入法給 oxim ,讓下次開機登入時 oxim 就可以正常使用了。

更新:
問題已解決,新的 11.04 oxim deb 包裝參照舊文的連結

沒有留言:

[Windows] git-bash 底下的工具

因為工作轉到 Windows 平台上的關係,所以很多工具改到 Windows 上面運作,跟著在 TortoiseGit 底下使用 git-bash 來維護自己的專案原始碼。結果就是裝了前面提過的 auto-hotkey 使用熱鍵來提昇自己的平台操作速度; 但除了 hotkey...