Compiling of programs fails

Support knowledgebase (hvogel_compilekde)
Applies to

SuSE Linux: Version 7.1
This article refers to an older version of SuSE Linux. Therefore some of the informations given in this article may be outdated or the article may contain stale links.

Symptom

You try to compile source code for programs with KDE support and/or programs using QT. The command configure fails with the message:

checking for Qt... configure: error: Qt (>= Qt 2.2.1) (libraries) not found.

Cause

The variable QTDIR still points to the old QT libraries /usr/lib/qt.

Solution

Before executing configure, change the variable using export.

export QTDIR=/usr/lib/qt-<version>.

The make files also often don´t find some KDE header files in this context, because the variable KDEDIR has the value /opt/kde. Modify the variable using export before executing configure.

export KDEDIR=/opt/kde2


Keywords: COMPILE, QT, KDE2, CODE, PROGRAM

Categories: Packages

SDB-hvogel_compilekde, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 16. Mai 2001
SuSE Linux AG - Last generated: 16. Mai 2001 by hvogel (sdb_gen 1.40.0)