免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4415 | 回复: 5
打印 上一主题 下一主题

glib-config 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-26 15:40 |只看该作者 |倒序浏览
我的系统 fedora3, 安装一个软件的时候有如下的提示。但是系统中有glib阿, 版本是1.2.10。 不知道怎么处理, 请高手帮忙, 多谢!

checking for glib >;= 1.2.4 gtk+ >;= 1.2.4... sh: glib-config: command not found
sh: glib-config: command not found
sh: glib-config: command not found
sh: glib-config: command not found
sh: glib-config: command not found
sh: glib-config: command not found
Requested 'glib >;= 1.2.4' but version of GLib is

configure: error: Library requirements (glib >;= 1.2.4 gtk+ >;= 1.2.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

论坛徽章:
0
2 [报告]
发表于 2005-10-26 15:42 |只看该作者

glib-config 问题

提示已经说得很明白了:

consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

论坛徽章:
0
3 [报告]
发表于 2005-10-26 15:47 |只看该作者

glib-config 问题

Requested 'glib >;= 1.2.4' but version of GLib is

configure: error: Library requirements (glib >;= 1.2.4 gtk+ >;= 1.2.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
说的很清楚,你的glib 版本必须>;= 1.2.4
用 rpm -qa |grep glib看看自己的版本
去down一个高于或等于1.2.4的(glib)rpm包
rpm -Uvh glib-*.rpm

论坛徽章:
0
4 [报告]
发表于 2005-10-26 15:51 |只看该作者

glib-config 问题

我已经查过了,版本是1。2。10,在/usr/include/下有glib-2.0目录, 关键是glib-config这个命令也不存在啊。 我不知道怎么改PKG_CONFIG_PATH, 在终端看了一下PKG_CONFIG_PATH是空的, 我export PKG_CONFIG_PATH=/usr/include/glib-2.0后,还是不行。

论坛徽章:
0
5 [报告]
发表于 2005-10-26 16:07 |只看该作者

glib-config 问题

down个包重装!

论坛徽章:
0
6 [报告]
发表于 2005-10-27 09:15 |只看该作者

glib-config 问题

看来包安装还真是个问题啊

两种方法:1, 从源代码编译一个glib;2,不但装glib-XX.rpm,还要装glib-devel-xxx.rpm
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP