|
发表于 2004-7-7 01:41:20
|
显示全部楼层
[quote:d070b6e73f="taxuewuhen"]glib,atk已经安装了分别在目录: /var/local/glib/ 和 /var/local/atk/ 下!
安装pango时: 用命令 ./configure --prefix=/var/local/pango 出现如下错误
checking FONTCONFIG_CFLAGS...
checking FONTCONFIG_LIBS... -lfontconfig
checking for freetype-config... /usr/local/bin/freetype-config
checking for FT_Get_Next_Char in -lfreetype... yes
checking for xft >= 2.0.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/include/freetype2
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... no
configure: error:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
请帮我找一下吧!,谢谢![/quote]
[quote:d070b6e73f="taxuewuhen"]对gtk2.4.3重新configure了一下!
发现出了错误:./configure --prefix=/var/local/gtk
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.2, but GLIB (2.2.1)
*** 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.4.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.
怎么办?虽然它已经给出了很明白的解决方法,但是我还是不知道如何动手![/quote]
请试一下:
./configure PKG_CONFIG_PATH=/var/local/glib/ (或者glib的路径)
不过好像要先装Glib 2.4?
|
|