1. ibm智能詞典下載:
http://netlesson.ccucomp.cn/downloads/soft/ibmword.rar
2.由於centos不支援rar命令,
wget http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz
tar -xvf rarlinux-3.9.3.tar.gz
cd rar
make
3. rar e ibmword.rar 後是XP下的安裝檔案,悲劇了。
4. 在http://download.chinaunix.net/download/0001000/92.shtml
下載sdcv-0.4.1.tar.bz2
bzip2 -d stardict-3.0.1.tar.bz2
得到stardict-3.0.1.tar
tar -xvf stardict-3.0.1.tar -C /user/local
閱讀INSTALL
./configure`````
報錯:configure: error: Enchant library not found or too old. use --disable -spell to build without spell plugin.
增加相應的--disable -spell即可。
5. 發現找不到pkg-config,安裝後發現libgnomeui的許多lib庫過低,欲哭無淚·····
6.下次再說吧,要給女朋友搬東西去了。
7.注意到, 錯誤提示裡面, 後半段是
| set the PKG_CONFIG environment variable to the full path to pkg-config. |
環境變數 PKG_CONFIG 沒有指向 pkg-config的完全路徑, 看下 PKG_CONFIG
| dorainm@coffee $ echo $PKG_CONFIG dorainm@coffee $ |
的確是空的, 看下 pkg-config 在哪個目錄裡面
dorainm@coffee $ find / -type f -name 'pkg-config' /usr/bin/pkg-config dorainm@coffee $ |
現在設定環境變數, PKG_CONFIG
dorainm@coffee $ export PKG_CONFIG=/usr/bin/pkg-config
dorainm@coffee $ echo $PKG_CONFIG
/usr/bin/pkg-config
dorainm@coffee $
現在#./configure --disable-spell --disable-gucharmap --disable-festival --disable-espeak
error!
絕殺:找到rpm包,呵呵。
文章介紹:http://linuxroad.blog.51cto.com/765922/842661
參考文獻:
http://imcat.in/linux-system-install-rar-centos/
http://blog.chinaunix.net/space.php?uid=20396006&do=blog&id=1951234