我装了gtk+-2.6.8,而且也用export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
和export PKG_LIBRARY_PATH=/usr/local/lib/pkgconfig指定了pkg的位置,但是在configure的时候依旧报错如下
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.6.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.