LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 754|回复: 2

有关glib的版本问题

[复制链接]
发表于 2004-9-1 13:23:37 | 显示全部楼层 |阅读模式
我在安装gftp的时候,遇到这个错误
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
checking for glib-config... no
checking for GLIB - version >= 1.2.3... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: gFTP needs GLIB 1.2.3 or higher

pkg-config是什么?我的系统已经安装了glib1.2.10,可是为什么还会出现这个错误?
发表于 2004-9-1 16:20:48 | 显示全部楼层
pkgconfig是一种配置处理的程序吧。
glib-config的配置是保存在比如 /usr/lib/pkgconfig/目录下,类似于:glib.pc这样的文件。当然首先你得先安装pkgconfig啊。
还有就是设置PKG_CONFIG让它指向glib.pc文件所在的位置。
 楼主| 发表于 2004-9-1 18:21:52 | 显示全部楼层
呵呵,谢谢,把pkgconfig安装后,一切都好了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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