GTK+ 移植时出现问题

来源:互联网 发布:最新手机直播软件 编辑:程序博客网 时间:2024/05/01 01:47

 #./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

原创粉丝点击