【问题标题】:Problem compiling Linux source编译Linux源代码的问题
【发布时间】:2010-01-25 08:08:32
【问题描述】:

我正在尝试编译 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]# 

可能是什么问题?

【问题讨论】:

    标签: linux qt


    【解决方案1】:

    可能是您正在安装的 qt3 软件包仅包含库,而不包含头文件吗?也许你必须为你的 linux 发行版安装包 qt3-devel 或类似的东西......

    【讨论】:

    • +1, "请确保* QT3开发包已正确安装且"
    • 宾果游戏,就是这样。它绝对是基于 Red Hat 的系统上的 qt3-devel 包。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-11-17
    • 1970-01-01
    • 2017-10-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-17
    相关资源
    最近更新 更多