From an emerge of kdebindings-3.3.0 (there seems to be no 3.3.1 one?): /bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I/opt/blackdown-jdk-1.4.2/include -I/opt/blackdown-jdk-1.4.2/include/linux -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -frename-registers -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o Qt.lo `test -f 'Qt.cpp' || echo './'`Qt.cpp In file included from Qt.cpp:10: /usr/qt/3/include/qgl.h:79:20: GL/gl.h: No such file or directory gl.h is present in /usr/X11R6/include/GL. The emerge should probably have a -I/usr/include/X11R6/include somewhere, but I don't know how or where to add it (or if it should be auto-detected somewhere). Reproducible: Always Steps to Reproduce:
"-I/usr/X11R6/include" is there in the command line. Make sure /usr/X11R6/include/GL/gl.h is a link to an existant file, you might need to use 'opengl-update', which should set up all the symlinks to the real implementation-specific files in /usr/lib/opengl/.
Do I feel stupid now... The links were messed and opengl-update fixed it, thanks.