GTK+ 移植时出现问题

 #./configure提示:
To remove the old version of GLib - Bob - 黄宝的博客
checking for GLIB - version >= 2.5.7To remove the old version of GLib - Bob - 黄宝的博客
To remove the old version of GLib - Bob - 黄宝的博客
*** 'pkg-config --modversion glib-2.0returned 2.12.0but GLIB (2.10.3)
To remove the old version of GLib - Bob - 黄宝的博客
*** was found! If pkg-config was correct, then it is best
To remove the old version of GLib - Bob - 黄宝的博客
*** to remove the old version of GLib. You may also be able to fix the error
To remove the old version of GLib - Bob - 黄宝的博客
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
To remove the old version of GLib - Bob - 黄宝的博客
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
To remove the old version of GLib - Bob - 黄宝的博客
*** required on your system.
To remove the old version of GLib - Bob - 黄宝的博客
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
To remove the old version of GLib - Bob - 黄宝的博客
*** to point to the correct configuration files
To remove the old version of GLib - Bob - 黄宝的博客no
To remove the old version of GLib - Bob - 黄宝的博客configure: error:
To remove the old version of GLib - Bob - 黄宝的博客
*** GLIB 2.5.7 or better is required. The latest version of
To remove the old version of GLib - Bob - 黄宝的博客
*** GLIB is always available from ftp://ftp.gtk.org/If GLIB is installed
To remove the old version of GLib - Bob - 黄宝的博客
*** but not in the same location as pkg-config add the location of the file
To remove the old version of GLib - Bob - 黄宝的博客
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

 

export PKG_CONFIG_PATH=/wjl/GUI/xwindow/GTK/deps/glib-2.12.9/ 

/wjl/GUI/xwindow/GTK/deps/glib-2.12.9/ 为glib-2.0.pc所在地址

 

详见:http://www.ajaxstu.com/GUIbiancheng/296584.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值