QTDIR not set properly

Bug #77868 reported by Robert Persson
6
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

I tried to run make xconfig in my linux source directory, but I get the following:

root@zebedee:/usr/src/linux-source-2.6.17# make xconfig
  CHECK qt
*
* Unable to find the QT installation. Please make sure that
* the QT development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'. Stop.
make: *** [xconfig] Error 2

pkg-config is installed.
qt3-dev-tools is installed.
I am currently experiencing this bug in edgy, but I had it in dapper as well.

Revision history for this message
PBraga (pls-braga) wrote :

I got exactly the same problem!

I'm using Ubuntu 7.0.4.
Compiling kernel-source-2.6.21.1

plbraga@xluna:~/testing/snapgear_gaisler/snapgear-p33a/linux-2.6.21.1$ make xconfig
  CHECK qt
*
* Unable to find the QT installation. Please make sure that
* the QT development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
(...)

I installed qt3-dev-tools and pkg-config

Revision history for this message
PBraga (pls-braga) wrote : Re: QTDIR not set properly (solved)

just install:

        sudo apt-get install libqt3-mt-dev

----
I found on linux-2.6.21.1/scripts/kconfig/Makefile the way it detects qt.
then I checked the same way:

plbraga:~$ pkg-config --exists qt && echo ok

and

pkg-config --exists qt-mt && echo ok

and found that none was returning true!!

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

You can also just run make gconfig.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.