免费注册 查看新帖 |

Chinaunix

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

编译gtk+ 2.4.0, 设置PKG_CONFIG_PATH,没有atk.pc文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-18 18:11 |只看该作者 |倒序浏览
今天编译pidgin时,系统提示需要gtk+ 2.4.0,我到官网下载软件包进行编译。

为了让pidgin编译时能找到gtk+ 2.4.0的库,我编译gtk+ 2.4.0时,设置了安装路径在/usr

# ./configure --preifx=/usr

checking for glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0... Package atk was not found in the pkg-config search path. Perhaps you should add the directory containing `atk.pc' to the PKG_CONFIG_PATH environment variable No package 'atk' found Package pango was not found in the pkg-config search path. Perhaps you should add the directory containing `pango.pc' to the PKG_CONFIG_PATH environment variable No package 'pango' found
configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.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.


在configure的最后阶段 出现了上述提示.说是我的atk.pc和pango.pc并没有在 PKG_CONIG_PATH中设置.

我的pkgsearch路径在/usr/lib/pkgconfig,在我想把atk.pc和pango.pc加入路径时确发现在系统上找不到他们。

我尝试了
# rpm -qa | grep atk
atk-1.24.0-1.fc10.i386
# rpm -ql atk | grep atk.pc


结果是有atk的rpm包,但没有atk.pc。 pango.pc的情况也是一样。

请各位帮帮忙,谢谢。

论坛徽章:
0
2 [报告]
发表于 2009-09-29 21:29 |只看该作者

回复 #1 beeand 的帖子

使用yum 会解决这个软件包依赖的关系
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP