I was trying to compile a kdelibs from trunk on minimal set of development packages on openSUSE and even though configuration went fine the compilation failed with message below. At the bottom is the patch that fixes it.<br>
<br>Let me know if I should push it.<br>Thanks,<br>Andriy<br><br>
[ 93%] Building CXX object plasma/CMakeFiles/plasma.dir/glapplet.o<br>
In file included from .../work/OSS/kde-qt/include/QtOpenGL/qgl.h:1:0,                                                     <br>
                 from .../work/OSS/kde-qt/include/QtOpenGL/QGLWidget:1,<br>
                 from .../work/OSS/KDE/kdelibs/plasma/glapplet.h:25,<br>
                 from .../work/OSS/KDE/kdelibs/plasma/glapplet.cpp:20:<br>
.../work/OSS/kde-qt/include/QtOpenGL/../../src/opengl/qgl.h:79:23: fatal error: GL/glu.h: No such file or directory<br>
compilation terminated.<br>
make[2]: *** [plasma/CMakeFiles/plasma.dir/glapplet.o] Error 1<br>
<br><br>Index: plasma/CMakeLists.txt<br>===================================================================<br>--- plasma/CMakeLists.txt       (revision 1157391)<br>+++ plasma/CMakeLists.txt       (working copy)<br>@@ -227,12 +227,12 @@<br>
 #   TEST_INCLUDES<br> #)<br> <br>-if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)<br>+if(QT_QTOPENGL_FOUND AND OPENGL_FOUND AND OPENGL_GLU_FOUND)<br>     message(STATUS "Adding support for OpenGL applets to libplasma")<br>
     set(plasma_LIB_SRCS<br>         ${plasma_LIB_SRCS}<br>         glapplet.cpp)<br>-endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)<br>+endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND AND OPENGL_GLU_FOUND)<br> <br> if (PHONON_FOUND)<br>
     message(STATUS "Adding support for Phonon to libplasma")<br><br>