... checking for libjpeg... -ljpeg checking for Qt... libraries /usr/lib/qt2//lib, headers /usr/lib/qt2//include checking if Qt compiles without flags... no checking for moc... /usr/lib/qt2//bin/moc checking for uic... /usr/lib/qt2//bin/uic checking for rpath... yes checking for KDE... configure: error: in the prefix, you've chosen, are no KDE headers installed. This will fail. So, check this please and use another prefix!