after emerge sync on 8/7/04 portage wants to upgrade to wxGTK-2.4.2-r2, but halfway it's configure it halts: checking for GL/gl.h... no configure: error: OpenGL libraries not available !!! ERROR: x11-libs/wxGTK-2.4.2-r2 failed. !!! Function src_compile, Line 77, Exitcode 1 !!! ./configure failed Reproducible: Always Steps to Reproduce: Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -msse -mfpmath=sse -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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -msse -mfpmath=sse -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="3dnow X apm avi berkdb cdr crypt cups encode esd foomatic foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg mtrr ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
You might try running /usr/sbin/opengl-update then try emerging again. If you switched from xfree to xorg or changed nvidia drivers etc, that could help.
opengl-update ati (for an R200) didn't fix it, even though it has ati-drivers-3.9.0-r1 installed. opengl-update xorg-x11 did. This machine was installed with xorg, xfree86 never touched it.