./configure --prefix=/usr/local/kmess --with-qt-di=/usr/lib/qt-3.1 --with-qt-includes=/usr/lib/qt-3.1/ --with-qt-libraries=/usr/lib/qt-3.1/lib
================================================
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.