免费注册 查看新帖 |

Chinaunix

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

为什么我的GTK装不上? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-01-14 16:41 |只看该作者 |倒序浏览
我明明装了glib2.6(安装configure-make-make install)步骤。
可是我装GTK的时候make发出下面的警告:

checking for gtk+-2.0 >;= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

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

我pkg装了。是不是PKG_CONFIG_PATH 这个要设置的吗?请问怎么设置,设置成什么?

还有个问题,我的glib2.6安装了,默认的,我redhat9,但我不知道装在哪里的。。。怎么办?

论坛徽章:
0
2 [报告]
发表于 2005-01-14 16:57 |只看该作者

为什么我的GTK装不上?

我也不知道。我倒是把glib2.7给装上了,.pc在的路径也导入到环境变量中了,configure也没问题了,可是编译pango、atk的时候又出错了,莫名其妙中。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP