if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED - DPANGO_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I.. -I/usr/include/cairo - pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include - I/usr/include/freetype2 -I/usr/include/freetype2/config - I/usr/include/freetype2 -march=pentium4 -O3 -pipe -Wall -MT cairosimple.o - MD -MP -MF ".deps/cairosimple.Tpo" \ -c -o cairosimple.o `test -f 'cairosimple.c' || echo './'`cairosimple.c; \ then mv -f ".deps/cairosimple.Tpo" ".deps/cairosimple.Po"; \ else rm -f ".deps/cairosimple.Tpo"; exit 1; \ fi cairoview.c:35:24: cairo-xlib.h: No such file or directory cairoview.c: In function `update': cairoview.c:145: warning: implicit declaration of function `cairo_xlib_surface_create' cairoview.c:147: warning: assignment makes pointer from integer without a cast make[2]: *** [cairoview.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango- 1.10.1/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1' make: *** [all] Error 2 !!! ERROR: x11-libs/pango-1.10.1 failed. !!! Function gnome2_src_compile, Line 48, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message.
gandalf xorg-x11 # emerge --info Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13.2-grsec i686) ================================================================= System uname: 2.6.13.2-grsec i686 Intel(R) Pentium(R) 4 CPU 1600MHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/shar e/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/sh are/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoclean autoconfig ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo/ ftp://ftp.gentoo- pt.org/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ http://gentoo.felisberto.net/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage" USE="x86 apache apache2 apm atm avi berkdb bitmap-fonts crypt curl eds emboss encode foomaticdb fortran gd gif gpm gstreamer gtk2 imagemagick imap jpeg libg++ libwww mad mmx motif mpeg mysql ncurses nptl ogg opengl pam perl png python qt quicktime readline samba sdl server slang spell sqlite sse ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
cairoview.c:35:24: cairo-xlib.h: No such file or directory ^^ what version of cairo do you have installed? does the file /usr/include/cairo/cairo-xlib.h exist? try re-emerging cairo as well. Thanks
I can confirm the problem even after recompiling cairo 1.0.2.
Got it, /usr/include/cairo/cairo-xlib.h only exists if you have USE flag 'X' set for cairo... This should be fixed cause pango doesn't have any USE flag that we could use to switch this off.
I've updated the pango-1.10.1.ebuild to require the X flag on cairo.