2010-01-25 89 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