LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 962|回复: 10

编译PANGO出错

[复制链接]
发表于 2004-2-14 15:41:20 | 显示全部楼层 |阅读模式
安装文档:

安装 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/.


请问该如何解决?
发表于 2004-2-14 15:49:25 | 显示全部楼层
你装了xfree么?
 楼主| 发表于 2004-2-14 15:54:22 | 显示全部楼层
装了。。昨天才问的问题捏。。TRAM兄忘了?
发表于 2004-2-14 19:02:05 | 显示全部楼层
echo PKG_CONFIG_PATH?
 楼主| 发表于 2004-2-14 19:19:58 | 显示全部楼层
PATH正确
但是/usr/X11R6/lib下根本就没PKGCONFIG这个东西
发表于 2004-2-14 19:35:40 | 显示全部楼层
/usr/lib下呢?
 楼主| 发表于 2004-2-14 19:46:22 | 显示全部楼层
也没有
我已经重新编译了pkgconfig包
 楼主| 发表于 2004-2-14 19:47:35 | 显示全部楼层
tram兄能不能留个联系方式
在论坛上请教不大方便
发表于 2004-2-14 21:24:16 | 显示全部楼层
提示是说没装glib2.X
你装了glib2.x么?
 楼主| 发表于 2004-2-15 10:59:44 | 显示全部楼层
Glibc在装LFS的时候就装好了的啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表