Emerging flightgear with the latest xorg-x11-6.8.2 installed fails with "/usr/include/GL/gl.h:2140:22: GL/glext.h: No such file or directory". Adding the symlink 'glext.h -> /usr/lib/opengl/xorg-x11/include/glext.h' in /usr/include/GL makes the emerge succeed. Reproducible: Always Steps to Reproduce: 1. emerge flightgear Actual Results: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/X11R6/include -march=athlon-xp -Os -pipe -fomit-frame-pointer -fstack-protector -D_REENTRANT -MT est-epsilon.o -MD -MP -MF ".deps/est-epsilon.Tpo" -c -o est-epsilon.o est-epsilon.c; \ then mv -f ".deps/est-epsilon.Tpo" ".deps/est-epsilon.Po"; else rm -f ".deps/est-epsilon.Tpo"; exit 1; fi In file included from /usr/include/GL/glut.h:10, from est-epsilon.c:13: /usr/include/GL/gl.h:2140:22: GL/glext.h: No such file or directory make[1]: *** [est-epsilon.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/flightgear-0.9.8/work/FlightGear-0.9.8/tests' make: *** [all-recursive] Error 1 !!! ERROR: games-simulation/flightgear-0.9.8 failed. !!! Function src_compile, Line 38, Exitcode 2 Gentoo Base System version 1.6.9 Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 AMD Athlon(tm) XP 2800+ Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 12:30:54)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig distlocks notitles sandbox sfperms userpriv usersandbox" 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="x86 3dnow X aim alsa apm arts avi berkdb bitmap-fonts cdr crypt curl emboss encode esd fam fbcon flac font-server ftp gdbm gif gpm hardened imagemagick imlib jabber jpeg kde libg++ libwww mad mbox mikmod mime mmx mpeg mysql ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sasl sdl slang speex spell sse ssl svga tcltk tiff truetype truetype-fonts type1-fonts unicode xine xml xml2 xmms xsl xv zlib video_cards_via linguas_en linguas_eo linguas_es linguas_nl" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
rerun opengl-update
Ah, yes, that does it. (Made sure to first remove my own symlink.) Thanks.