centos6.0安裝ibm智能詞典

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.