FC1安装gtk2.8老出这个错, 急啊!!!
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 试拭 garnome 吧 安装pango之前一定要先装cairo,不然到后面gtk2.8会出错,
我用的LFS装的gtk+-2.8.3,gcc3.4.4和gcc4.0.1都可以通过, 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
是否还需要把前面那些包装上?
页:
[1]