QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 923|回复: 2

FC5,stardict-2.4.7,configure出错

[复制链接]
发表于 2006-4-21 23:48:51 | 显示全部楼层 |阅读模式
我的系统是FC5。安装时它所有开发包都选了。然后我把FC5原有的stardict2.4.5卸了,然后想装2.4.7。可是在configure的时候出错:
[code:1] 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_CFLAGS
and 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' for more details.[/code:1]
我看了一下,usr/bin/下明明有pkg-config,而且版本是0.20(应该是最新版吧),应该不会像他说的那样“too old”吧。
这是为什么呢?
发表于 2006-4-22 00:14:54 | 显示全部楼层
和我的错误一样,可能是个bug。可以这样解决:
[code:1]export PKG_CONFIG=`which pkg-config`[/code:1]
回复

使用道具 举报

 楼主| 发表于 2006-4-22 10:10:19 | 显示全部楼层
谢谢。
export PKG_CONFIG=`/usr/bin/pkg-config`
装成功了。
看来以后我得多看看configure的--help。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-23 07:33 , Processed in 0.061884 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表