I have tried to emerge gnubg-0.14.2, but it fails - missing some headers. 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.) and more errors like that... Where can I get these header files from?
please include the output of emerge --info as instructed on the bug submission page.
As you asked for... Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.4.3.13p1 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /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=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aalib alsa altcolors avi berkdb bonobo cdr crypt cups dga directfb doc dvb dvd dvdr encode ethereal fbcon flac flash foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib ipv6 java javascript jpeg kde libg++ libwww linguas_de mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nvidia oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline ruby scanner sdl slang spell sse ssl tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xv zlib"
Meanwhile I have solved this bug by writing an ebuild for ftgl see bug #47048
Created attachment 39157 [details, diff] gnubg-Makefile.am.patch Patch 1 of 3
Created attachment 39158 [details, diff] gnubg-board3d.Makefile.am.patch Patch 2 of 3
Created attachment 39159 [details, diff] gnubg-configure.in.patch Patch 3 of 3
Created attachment 39160 [details] gnubg-0.14.2.ebuild Updated ebuild that fixes FTGL support (see #47048). Also, there isn't a gtk+extra for gtk2 (other than a broken implementation in CVS), so that option should be eliminated for gtk2 builds. Also added an "autoreconf" to prevent configure from re-running itself. Didn't know if that was the proper way to do things. Change it if necessary.
I don't know if this is directly related, but I have a patch for the ebuild currently in portage - it should depend on gtkglext.
PLease see Bug# 67929 for the patch cause I'm stupid :-(
ftgl will only be pulled in if board3d is enabled, gtk support is not disabled, and gtkglext is not found updated the ebuild to respect USE=opengl and gtkglext ... in this way, ftgl will never be enabled
I still see this problem, same errors. Fresh rsync, 0.14.2 ebuild has rev 1.10, "emerge -pv" shows: [ebuild U ] 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 This rsync brought in ftgl as a dependency and it was built, despite having gtk in use flags and x11-libs/gtkglext-1.0.5 installed. System is otherwise up-to-date and almost entirely 'x86' with very little unstable ~x86; the only ~x86 dependency mixed into the above is sys-libs/readline, currently 5.0-r1 and not visibly related to these problems. The config.h defines HAVE_FTGL and HAVE_GTKGLEXT. Modifying the .ebuild to add one line in the "use opengl" part of src_compile: CXXFLAGS="${CXXFLAGS} -I/usr/include/FTGL" solved the build, but the runtime is broken for 3d use. I'll pass this directly onto one of the gnubg core developers.
Run-time 3d problems solved by going to gnubg-0.14.3, demonstrated experimentally by adding an extra files/ entry and copying the ebuild without further modification (beyond that in my previous update).