红联Linux门户
Linux帮助

使用源码方式安装stardict(星际译王)

发布时间:2008-06-19 00:24:06来源:红联作者:Jovale
首先,在其官方网站下载源码包:http://stardict.sourceforge.net/other.php

当前版本是3.0.1,对应的文件名称应该是: stardict-3.0.1.tar.bz2

然后按照如下步骤进行安装:

# tar xvfj stardict-3.0.1.tar.bz2# cd stardict-3.0.1# ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --disable-festival# make# make install

给出一个很悲观的论断:目前的很多Fedora平台都是i586或者i686内核的,但是stardict和他的很多依赖包还停留在i386,所有安装失败的人就太多了.所有给出个建议,安装之前先看一下内核(uname),如果是i586或者i686,就不要抱太大的希望。

在这里,configure的时候可能有由于不同机器上有一些库的缺失,造成的一些错误,需要完善一下,由于问题的多样性,就不一一列举。

./configure --prefix=/usr/local/stardict --sysconfdir=/etc/stardict --mandir=/usr/share/man/stardict --disable-spell --disable-gucharmap --disable-festival --disable-espeak
文章评论

共有 3 条评论

  1. Hoo_h 于 2012-05-20 00:09:36发表:

    我的也装不上。。。

  2. yyp8008@163.com 于 2012-05-05 20:44:48发表:

    错里他们也不说缺少什么包

  3. yyp8008@163.com 于 2012-05-05 20:43:43发表:

    我都换里很多都无法安装啊

    make[4]: *** [signal.o] Error 1
    make[4]: Leaving directory `/usr/src/stardict-3.0.0/src/sigc++'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/usr/src/stardict-3.0.0/src/sigc++'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/src/stardict-3.0.0/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/stardict-3.0.0'
    make: *** [all] Error 2
    [root@mail stardict-3.0.0]#
    我这个是什么原因呢