QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1428|回复: 3

FC1安装gtk2.8老出这个错, 急啊!!!

[复制链接]
发表于 2005-9-10 01:48:57 | 显示全部楼层 |阅读模式
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

我按照gtk主页上的依赖一个个安装的,都没问题,可到了安装gtk2.8的时候就出这个错,我装了 pango 了阿。咋办呢????

下面是更多的一些出错信息
////////////////////////////////////////////////////////////////

configure: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled
configure: WARNING: X11/extensions/Xinerama.h:     check for missing prerequisite headers?
configure: WARNING: X11/extensions/Xinerama.h: see the Autoconf documentation
configure: WARNING: X11/extensions/Xinerama.h:     section "Present But Cannot Be Compiled"
configure: WARNING: X11/extensions/Xinerama.h: proceeding with the preprocessor's result
configure: WARNING: X11/extensions/Xinerama.h: in the future, the compiler will take precedence
configure: WARNING:     ## --------------------------------------------------------------------- ##
configure: WARNING:     ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B ##
configure: WARNING:     ## --------------------------------------------------------------------- ##
checking for X11/extensions/Xinerama.h... yes
yes
checking for XRRUpdateConfiguration in -lXrandr... yes
checking for X11/extensions/Xrandr.h... yes
checking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/local/include/cairo   -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
发表于 2005-9-10 17:01:09 | 显示全部楼层
试拭 garnome 吧
回复

使用道具 举报

发表于 2005-9-10 19:32:35 | 显示全部楼层
安装pango之前一定要先装cairo,不然到后面gtk2.8会出错,

我用的LFS装的gtk+-2.8.3,  gcc3.4.4和gcc4.0.1都可以通过,
回复

使用道具 举报

发表于 2005-9-30 16:57:15 | 显示全部楼层
cairo怎么装?我在configure的时候最后这么几行:

感觉还是Dependency,在configure的最后出来这么几行:

cairo will be compiled with the following surface backends:
Xlib: no (requires Xrender http://freedesktop.org/Software/xlibs)
Quartz: no
XCB: no
Win32: no
PostScript: no
PDF: no
glitz: no

the following font backends:
FreeType: yes
Win32: no
ATSUI: no

and the following features:
PNG functions: yes

是否还需要把前面那些包装上?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 07:43 , Processed in 0.202666 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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