Hello all, pango-1.4.0 doesn't compile (I thought it was a freetype problem, so I've emerged pango with freetype-2.1.5 and 2.1.7, the errors are the same): gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=pentium4 -mcpu=pentium4 -msse2 -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -Wall -MT pangoft2.lo -MD -MP -MF .deps/pangoft2.Tpo -c pangoft2.c -fPIC -DPIC -o .libs/pangoft2.o pangoft2.c: In function `pango_ft2_font_get_face': pangoft2.c:205: error: `FC_HINT_STYLE' undeclared (first use in this function) pangoft2.c:205: error: (Each undeclared identifier is reported only once pangoft2.c:205: error: for each function it appears in.) pangoft2.c:206: error: `FC_HINT_FULL' undeclared (first use in this function) pangoft2.c:208: error: `FC_HINT_NONE' undeclared (first use in this function) pangoft2.c:212: error: `FC_HINT_SLIGHT' undeclared (first use in this function) pangoft2.c:213: error: `FC_HINT_MEDIUM' undeclared (first use in this function) make[4]: *** [pangoft2.lo] Error 1 make[4]: *** Waiting for unfinished jobs... compiled using the last-hope cflags: -O2 -pipe :)) Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4) ================================================================= System uname: 2.6.4 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox userpriv usersandbox" :)) Que
you have a stray freetype.h or fontconfig.h somewhere. Locate them. There's a dozen older bugs like this, find those for exact explanations.
Ops, it was either freetype.h and fontconfig.h, thanx a lot!!! Que
I have this same error for pango 1.4.1 what do you mean by "stray freetype.h or fontconfig.h somewhere" i located them and there are more than one freetype.h. i have been having a lot of trouble with the pango 1.4.1 i hope this can fix it! thanks!