|
楼主 |
发表于 2008-5-8 11:57:19
|
显示全部楼层
谢谢"leidan",直接下载http://www.slackware.com/~alien/ ... 0.1-i486-1alien.tgz
包来安装完全没有问题。
如果从官方的3.0.1源代码来安装,现在找到一种办法:
$./configure --disable-gnome-support --disable-spell --disable-gucharmap --disable-festival --disable-espeak
会出现以下提示:
checking for STARDICT... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables STARDICT_CFLAGSand STARDICT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log
参考 “startdict configure PKG_CONFIG 错误解决”这篇文章,网址是“http://blog.chinaunix.net/u1/41420/showart_470898.html”
在编译安装前,执行
$ export PKG_CONFIG=/usr/bin/pkg-config
$./configure --disable-gnome-support --disable-spell --disable-gucharmap --disable-festival --disable-espeak
$make
$sudo make install
即可完成安装。 |
|