|
我在RedHat linux8安装了pkg-config-0.14.0,然后再安装glib-2.2.1,atk-1.2.0,
gtk+=2.2.1 and Pango-1.2.1,当安装到atk执行./configure时
出现错误:
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6)
*** 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.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.
我试了运行
设置了/etc/ld.so.conf 加了 /usr/local
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
后在执行./configure
错误还是一样
不知为什么?
请教各位高手! |
|