|
我刚刚下了GTK+-2.6.9, 想要安装时发现需要3个dep: atk-1.0.1, pango-1.8.0, glib-2.0=>2.6.0
好了, 所以我在gtk.org下了这三个dep的源码
第一个, glib2-2.6.0, 很顺利, 没什么问题
第二个, atk-1.9.1, 问题来了, 在configure的时候出现了在这个error
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.
configure: error:
*** GLIB 2.5.7 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.
奇怪了, 明明装了glib2-2.6了,为什么还找不到glib2??????????(纳闷....)
去/usr/lib/pkgconfig/看看, 没错啊, glib-2.0.pc在里面啊.(吐血ing....)
先不管了, 安装pango
再吐血,
configure又出现了问题了
checking for fontconfig >= 1.0.1... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
configure: error: *** Didn't find any of FreeType, X11, or Win32.
*** Must have at least one backend to build Pango.
用rpm的query查了一下, 晕, fontconfig-2.2.3....
又是PKG_CONFIG_PATH, 搞什么鬼????
那位大大可怜可怜我, 告诉我这到底是什么问题???
[ 本帖最后由 kfchai1982 于 3-8-2005 01:09 PM 编辑 ] |
|