When you need to compile software on Linux you should take care of the dependencies, if they are not satisfied you will not be able to compile and use the software.

If you are doing this on Debian or Ubuntu, you may have apt-cache to help you. Here is how you have to use it.

When you get your tarbal file and uncompress it, to compile you first usually run


This will start to check for lots of things, and dependencies, you may have an output like this.

checking for Qt... configure: error: Qt (>= Qt 3.2) (headers and libraries) not found. Please check your installation!

If you get this, you can try with this command

apt-cache search qt | grep qt3

The apt-cache command will look in the database for packages that contains files with qt in their names and with the grep we will limit the output to those containing “qt3” somewhere, as configure is asking for that version.

The output of that command in my Etch is:

gcin-qt3-immodule - a QT input method module with gcin as backend
libavahi-qt3-1 - Avahi Qt3 integration library
libavahi-qt3-dev - Development headers for the Avahi Qt3 integration library
libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
libqt3-headers - Qt3 header files
libqt3-i18n - i18n files for Qt3 library
libqt3-java - Java bindings for Qt
libqt3-jni - Java bindings for Qt ( Native libraries )
libqt3-mt - Qt GUI Library (Threaded runtime version), Version 3
libqt3-mt-dev - Qt development files (Threaded)
libqt3-mt-ibase - InterBase/FireBird database driver for Qt3 (Threaded)
libqt3-mt-mysql - MySQL database driver for Qt3 (Threaded)
libqt3-mt-odbc - ODBC database driver for Qt3 (Threaded)
libqt3-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
libqt3-mt-sqlite - SQLite database driver for Qt3 (Threaded)
libqt4-qt3support - Qt 3 compatibility library for Qt 4
libsvnqt3 - Qt wrapper library for subversion
libvtk5-qt3 - Visualization Toolkit - A high level 3D visualization library
libvtk5-qt3-dev - Visualization Toolkit - A high level 3D visualization library
python-qt3 - Qt3 bindings for Python
python-qt3-doc - Qt bindings for Python - Documentation and examples
python-qt3-gl - Qt3 OpenGL bindings for Python
qt3-apps-dev - Qt3 Developer applications development files
qt3-assistant - The Qt3 assistant application
qt3-designer - Qt3 Designer
qt3-dev-tools - Qt3 development tools
qt3-dev-tools-compat - Conversion utilities for Qt3 development
qt3-dev-tools-embedded - Tools to develop embedded Qt applications
qt3-doc - Qt3 API documentation
qt3-examples - Examples for Qt3
qt3-linguist - The Qt3 Linguist
qt3-qtconfig - The Qt3 Configuration Application

If you read the lines above it appears that the missing package is:

libqt3-headers - Qt3 header files

so what we maybe need is to run

apt-get install libqt3-headers

as you can see this will not give you the right answer, but will help a lot to find the answer.