x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../../include -I../../include -D_REENTRA NT -DNDEBUG -DCOIN_DEBUG=0 -DNDEBUG -DCOIN_INTERNAL -O2 -pipe -fno-exceptions -W -W all -Wno-unused -Wno-multichar -Woverloaded-virtual -MT SoGLRenderAction.lo -MD -MP -MF .deps/SoGLRenderAction.Tpo -c SoGLRenderAction.cpp -fPIC -DPIC -o .libs/SoGLR enderAction.o In file included from ../../include/Inventor/system/gl.h:38, from ../../include/Inventor/C/glue/gl.h:33, from SoGLRenderAction.cpp:64: ../../include/Inventor/system/gl-headers.h:38:2: error: #error "don't know how to i nclude gl.h header" In file included from SoGLRenderAction.cpp:64: ../../include/Inventor/C/glue/gl.h:133: error: 'GLfloat' has not been declared ../../include/Inventor/C/glue/gl.h:134: error: 'GLfloat' has not been declared ../../include/Inventor/C/glue/gl.h:140: error: 'GLsizei' has not been declared [snip] make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/coin-2.5.0/work/Coin-2.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/coin-2.5.0/work/Coin-2.5.0' make: *** [all] Error 2 * * ERROR: media-libs/coin-2.5.0 failed. Portage 2.2_rc11 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-hardened-r4 x86_64) ================================================================= System uname: Linux-2.6.25-hardened-r4-x86_64-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-glibc2.2.5 Timestamp of tree: Fri, 03 Oct 2008 15:15:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly objc openmp pampcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** Bug 247742 has been marked as a duplicate of this bug. ***
Coin 3.1.0 2009-06-03 Current version in tree is from Oct 2007, vote plz.
vote keep for now. i'll have a look at it.
the 2.5.0 ebuild has several USE flags for things that aren't actually optional. for example, there's a --with-opengl configure option but it doesn't control whether opengl is enabled or not, it just lets you specify the path it's installed in. same with X. when these flags aren't set, the dependencies don't get pulled in and you get the error above. i posted a new ebuild for 3.1.0 on bug #270448 that fixes this and a few other issues. i'll commit it once i find someone willing to test it or figure out how to go about testing it myself.
Fixed.