|
|
安装文档:
安装 Pango
为了让pango能找到xft2,PKG_CONFIG_PATH环境变量必须包含/usr/X11R6/lib/pkgconfig.如果你还没有加,就在这里加上它。修改的方法在gnome的安装前设置里能找到。
我按照设置GNOME安装前的环境变量的方法,将以下语句加入了/etc/.bashrc 和/etc/profile:
export PATH=$PATH:/opt/gnome-2.2/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.2/lib/pkgconfig
export GNOME_LIBCONFIG_PATH=/usr/lib
但在执行编译的时候仍然出错:
checking for pkg-config... /usr/bin/pkg-config
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
checking for xft >= 2.0.0... Package xft was not found in the pkg-config search path.
Perhaps you should add the directory containing `xft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xft' found
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.1.3... 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.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
请问该如何解决? |
|