The emerge ends: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-1.0 -I./../lib -I/usr/include/libxml2 -I./../intl -DLOCALEDIR=\"\" -I/usr/include/freetype2 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -march=pentium4 -O2 -pipe -c `test -f 'texture3d.c' || echo './'`texture3d.c source='font3d.cpp' object='font3d.o' libtool=no \ depfile='.deps/font3d.Po' tmpdepfile='.deps/font3d.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-1.0 -I./../lib -I/usr/include/libxml2 -I./../intl -DLOCALEDIR=\"\" -I/usr/include/freetype2 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -march=pentium4 -O2 -pipe -c -o font3d.o `test -f 'font3d.cpp' || echo './'`font3d.cpp source='graph.c' object='graph.o' libtool=no \ depfile='.deps/graph.Po' tmpdepfile='.deps/graph.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-1.0 -I./../lib -I/usr/include/libxml2 -I./../intl -DLOCALEDIR=\"\" -I/usr/include/freetype2 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -march=pentium4 -O2 -pipe -c `test -f 'graph.c' || echo './'`graph.c font3d.cpp:32:29: FTGLPolygonFont.h: No such file or directory font3d.cpp:33:29: FTGLOutlineFont.h: No such file or directory font3d.cpp:34:20: FTFont.h: No such file or directory font3d.cpp:38: error: parse error before `{' token font3d.cpp: In function `void render(const char*)': font3d.cpp:43: error: `FTFont' undeclared (first use this function) font3d.cpp:43: error: (Each undeclared identifier is reported only once for each function it appears in.) font3d.cpp:43: error: parse error before `::' token font3d.cpp: At global scope: font3d.cpp:106: error: syntax error before `*' token font3d.cpp: In constructor `font::font(int, float, unsigned char*, unsigned int)': font3d.cpp:59: error: `fonts' undeclared (first use this function) font3d.cpp:59: error: parse error before `;' token font3d.cpp:62: error: invalid use of undefined type `class MyOutlineFont' font3d.cpp:37: error: forward declaration of `class MyOutlineFont' make[2]: *** [font3d.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gnubg-0.14.2/work/gnubg-0.14.2/board3d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnubg-0.14.2/work/gnubg-0.14.2' make: *** [all] Error 2 !!! ERROR: games-board/gnubg-0.14.2 failed. !!! Function src_compile, Line 102, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. System info: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10-cap i686) ================================================================= System uname: 2.6.10-cap i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" 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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/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="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages noauto notitles sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at/ http://gentoo.mirror.sdv.fr http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="X acl acpi alsa avi berkdb bitmap-fonts caps cdr crypt cups dvd emacs encode esd fam flac foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jack java jpeg junit libwww mad mbox mikmod mmx mmx2 motif mozilla mpeg nas ncurses network nptl oggvorbis opengl pam pdflib perl png python qt quicktime readline rtc samba sdl slang speex spell sse sse2 ssl svga tcpd tetex theora tiff truetype usb x86 xml xml2 xmms xv xvid zlib"
can you `emerge sync` and try again ? i just added a fix for this
forget that, fixed it in cvs
Sorry, but I now have ftgl-2.1.2 installed and the new ebuild, and I still get the same error. It appears that /usr/include/FTGL is not on the include path. For reference, here are my build flags: games-board/gnubg-0.14.2 [0.13.0-r1] +X -arts -debug +esd +gdbm +gtk +gtk2 +guile +nas* -nls +opengl +png +python +readline +truetype 0 kB
that's why i said i fixed it in cvs the ebuild adds the proper include paths to CFLAGS