when i try to emerge pango-1.8.0, i get this error: In file included from /usr/X11R6/include/X11/Xft/Xft.h:35, from pangoxft-render.h:32, from pangoxft-render.c:24: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" Reproducible: Always Steps to Reproduce: 1. emerge =x11-libs/pango-1.8.0 Actual Results: emerge failed Expected Results: successful emerge Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-mm1 i686) ================================================================= System uname: 2.6.9-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 18 2004, 20:41:23)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -pipe -fstrength-reduce -fstrict-ali asing -fprefetch-loop-arrays -fno-trapping-math -fno-if-conversion2 -fcse-follow -jumps -freorder-functions -fno-inline -fno-omit-frame-pointer -fcse-skip-blocks -fforce-mem -ftracer -funswitch-loops -mno-push-args" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dv ipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config / /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mtune=pentium4 -pipe -fstrength-reduce -fstrict-a liasing -fprefetch-loop-arrays -fno-trapping-math -fno-if-conversion2 -fcse-foll ow-jumps -freorder-functions -fno-inline -fno-omit-frame-pointer -fcse-skip-bloc ks -fforce-mem -ftracer -funswitch-loops -mno-push-args -fvisibility-inlines-hid den" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox sfperm sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.citkit.ru/pub/Linux/gentoo/ ftp://mirror.gentoo.ru/pu b/mirror/gentoo/ http://mirror.gentoo.ru/pub/mirror/gentoo/ ftp://mir.zyrianes.n et/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/g entoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d acl acpi activefilter alsa athena berkdb blender-game cdf cdpar anoia cdr chroot clibpdf crypt cscope ctype curl dga dio divx4linux dlloader dnd dv dvd dvdr encode erandom esd f77 faad fam ffmpeg fftw flac flat fmod fortran fs ftp gcj gcl gd gdbm gif ginac gpm gs gtk gtk2 gtkhtml guile hdf hdf5 icq imag emagick imap imlib ipv6 jabber java jikes jp2 jpeg lcms ldap libwww live mad mbo x mikmod mime mmap mmx mmx2 motif mozilla moznocompose moznoirc moznomail mpeg m pi mplayer mule ncurses netcdf nls nocardbus nosm nptl oggvorbis opengl openssh oscar pam pcntl pcre pdflib perl pic plotutils png pnp python qt radeon readline recode rtc sasl sdl shared sharedmem slang spell sse sse2 ssl stroke svg t1lib tcltk tcpd tetex theora tiff transcode truetype unicode usb userlocales v4l2 xem acs xml xml2 xmms xosd xpm xv xvid xvmc zlib video_cards_radeon"
Created attachment 46901 [details, diff] just adding #include <ft2build.h> in pangoxft-render.h just adding #include <ft2build.h> in pangoxft-render.h
Okay, firstly What version of freetype do you have installed? (qpkg -I -v freetype) What version of XFree/Xorg-X11 do you have installed? (qpkg -I -v x11-base) The problem probably lies in xfree, if you're using that, and if so, is a dupe of bug 57783. It's not pango's fault in that cause, it's X's. And secondly, while it may not be related to the bug, you should probably consider toning down your CFLAGS next time you hit a problem/bug. It's the first thing we'd tell you to do. CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -pipe -fstrength-reduce -fstrict-ali asing -fprefetch-loop-arrays -fno-trapping-math -fno-if-conversion2 -fcse-follow -jumps -freorder-functions -fno-inline -fno-omit-frame-pointer -fcse-skip-blocks -fforce-mem -ftracer -funswitch-loops -mno-push-args"
emerge of x11-base/xorg-x11 should work too.
*** This bug has been marked as a duplicate of 57783 ***