checking for GTK... Requested 'gtk+-2.0 >= 2.6.0' but version of GTK+ is 2.4.14
configure: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the GTK_CFLAGS and GTK_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
我已yum install curl-devel gtk2-devel boost-devel
成功.
最好有GTK2.6以上的rpm
checking for BASE_DEPENDENCIES... Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.4.7
configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met:
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
You have new mail in /var/spool/mail/root
[root@localhost gtk+-2.8.7]#
make[4]: Leaving directory `/root/glib-2.8.4/gobject'
make[3]: Leaving directory `/root/glib-2.8.4/gobject'
make[2]: Leaving directory `/root/glib-2.8.4/gobject'
Making install in gmodule
...........................................................................
-- Installing ./html/glib-The-Main-Event-Loop.html
-- Installing ./html/glib-Thread-Pools.html
-- Installing ./html/glib-Threads.html
-- Installing ./html/glib-Timers.html
-- Installing ./html/glib-Trash-Stacks.html
-- Installing ./html/glib-Type-Conversion-Macros.html
-- Installing ./html/glib-Unicode-Manipulation.html
-- Installing ./html/glib-utilities.html
-- Installing ./html/glib-Version-Information.html
-- Installing ./html/glib-Warnings-and-Assertions.html
-- Installing ./html/glib-Windows-Compatability-Functions.html
-- Installing ./html/home.png
................................................................
make[5]: Leaving directory `/root/glib-2.8.4/docs/reference/gobject'
make[4]: Leaving directory `/root/glib-2.8.4/docs/reference/gobject'
make[4]: Entering directory `/root/glib-2.8.4/docs/reference'
make[5]: Entering directory `/root/glib-2.8.4/docs/reference'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/root/glib-2.8.4/docs/reference'
make[4]: Leaving directory `/root/glib-2.8.4/docs/reference'
make[3]: Leaving directory `/root/glib-2.8.4/docs/reference'
make[3]: Entering directory `/root/glib-2.8.4/docs'
make[4]: Entering directory `/root/glib-2.8.4/docs'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/glib-2.8.4/docs'
make[3]: Leaving directory `/root/glib-2.8.4/docs'
make[2]: Leaving directory `/root/glib-2.8.4/docs'
make[1]: Leaving directory `/root/glib-2.8.4'
[root@localhost glib-2.8.4]#
当我装atk-1.10.1时,问题来拉
[root@localhost atk-1.10.1]# ./configure
........................................
checking for aclocal flags...
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.5.7... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** GLIB 2.0.0 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.
You have new mail in /var/spool/mail/root
[root@localhost atk-1.10.1]#
装 pango-1.10.1时一样问题
[root@localhost ~]# cd pango-1.10.1
[root@localhost pango-1.10.1]# ./configure
................................................................
checking for FONTCONFIG... checking for freetype-config... /usr/bin/freetype-con fig
checking for FT_Get_Next_Char in -lfreetype... yes
checking for XFT... checking for CAIRO... Package cairo was not found in the pkg -config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
checking for GLIB... Requested 'glib-2.0 >= 2.5.7' but version of GLib is 2.4.7
configure: error:
*** Glib 2.5.7 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
有没有其它的安装GTK高级版本方法
如yum rpm 请指教
累死拉!