我尝试从Debian Jessie的源代码编译atk-2.18.0
,但./configure
步骤失败并显示以下消息:
*** 'pkg-config --modversion glib-2.0' returned 2.46.2, but GLIB (2.42.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.31.2 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
我自己编译glib
,因为Debian Jessie存储库中glib
的版本已经过时了,并且不适合我。如何删除上面错误消息中建议的旧版本?