编译Linux源代码时遇到问题

时间:2010-01-25 08:08:33

标签: linux qt

我正在尝试编译Linux源但总是丢失qt,这是一个输出

[root@localhost 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
[root@localhost 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
[root@localhost linux-2.6.32.5]# echo $QTDIR
/usr/lib/qt-3.3
[root@localhost linux-2.6.32.5]# 

可能是什么问题?

1 个答案:

答案 0 :(得分:8)

您安装的qt3软件包可能只包含库,但不包含头文件吗?也许你必须为你的Linux发行版安装包qt3-devel或类似的东西......

相关问题