pango 1.2.0 does not emerge in my system: gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.2.0\" -DG_DISABLE_DEPRECATED -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=pentium3 -Os -mfpmath=sse -fomit-frame-pointer -fforce-addr -falign-functions=4 -pipe -Wall -c pangoft2.c -fPIC -DPIC -o pangoft2.lo pangoft2.c: In function `pango_ft2_font_get_face': pangoft2.c:224: `FC_HINT_STYLE' undeclared (first use in this function) pangoft2.c:224: (Each undeclared identifier is reported only once pangoft2.c:224: for each function it appears in.) pangoft2.c:225: `FC_HINT_FULL' undeclared (first use in this function) pangoft2.c:227: `FC_HINT_NONE' undeclared (first use in this function) pangoft2.c:231: `FC_HINT_SLIGHT' undeclared (first use in this function) pangoft2.c:234: `FC_HINT_MEDIUM' undeclared (first use in this function) make[3]: *** [pangoft2.lo] Error 1 xft-2.0.1-r1 xfree-4.2.1-r2
try reemerging/upgrading fontconfig/freetype
it didn't help fontconfig-2.1-r1 freetype-2.1.3-r2
Your fontconfig doesnt have the slighthint patch for some reason, rebuilding fontconfig should fix it. Are you sure there isn't an old version around. Anyway, disabling the slighhint patch in the pango ebuild should make it compile.
I am sure I don't have older versions, just run emerge clean tried also with fontconfig-2.1, freetype-2.1.2-r2 I'll disable the patch to see if it compiles.
Without the slighthint patch, it emerged.
what is the output of 'grep -r HINT /usr/include/fontconfig/*' ?
But /usr/include/fontconfig/ is not in the PATH for this compilation. Maybe I am missing some USE var... /usr/include/fontconfig/fontconfig.h:#define FC_HINTING "hinting" /* Bool (true) */ /usr/include/fontconfig/fontconfig.h:#define FC_HINT_STYLE "hintstyle" /* Int */ /usr/include/fontconfig/fontconfig.h:#define FC_AUTOHINT "autohint" /* Bool (false) */ /usr/include/fontconfig/fontconfig.h:#define FC_HINT_NONE 0 /usr/include/fontconfig/fontconfig.h:#define FC_HINT_SLIGHT 1 /usr/include/fontconfig/fontconfig.h:#define FC_HINT_MEDIUM 2 /usr/include/fontconfig/fontconfig.h:#define FC_HINT_FULL 3
Can you confirm that the fontconfig includes in /usr/include/fontconfig are the only fontconfig headers on your system ?
They aren't! find /usr -name fontconfig.h /usr/lib/mozilla/include/mozilla-1.1/fontconfig/fontconfig.h /usr/X11R6/include/fontconfig/fontconfig.h /usr/include/fontconfig/fontconfig.h I guess it is using X11R6 includes.
i guess so too. Did you use autoclean ? Like 'emerge -c world' doesnt have all older version around of packages (or are your really still using mozilla 1.1 ?).
I don't use autoclean, but I clean my system after updating packages. emerge -c world -p >>> These are the packages that I would unmerge: >>> No outdated packages were found on your system. I am using mozilla-1.2.1-r4
well, i'd check that then. You shouldnt have a mozilla-1.1 dir when you're using 1.2 and there is no /usr/X11R6/include/fontconfig/fontconfig.h in xfree-4.2.1-r2 . Closing, as this is apperantly a problem on your side.
very weird.
I've erased the offending files and now it compiles with the patch. I am very sorry of taking your time with such a stupid affair. Thank you very much for your help. Cheers.