2010-01-25 141 views
0

我試圖編譯Linux的源代碼,但總是缺少QT,這裏是一個輸出問題編譯Linux源代碼

[[email protected] linux-2.6.32.5]# yum install qt3 
Loaded plugins: refresh-packagekit 
Setting up Install Process 
Package qt3-3.3.8b-25.fc11.i586 already installed and latest version 
Nothing to do 
[[email protected] linux-2.6.32.5]# make xconfig 
    CHECK qt 
* 
* Unable to find the QT3 installation. Please make sure that 
* the QT3 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 
[[email protected] linux-2.6.32.5]# echo $QTDIR 
/usr/lib/qt-3.3 
[[email protected] linux-2.6.32.5]# 

可以採取什麼問題嗎?

回答

8

難道是你安裝的qt3軟件包只包含庫,但不包含頭文件?也許你必須安裝軟件包qt3-devel或類似的東西你的Linux發行版...

+2

+1,「請確保 * QT3開發包已正確安裝和 」 – 2010-01-25 08:21:15

+1

賓果,就是這樣。這絕對是基於Red Hat系統的qt3-devel軟件包。 – 2010-01-25 09:18:36