代码之家  ›  专栏  ›  技术社区  ›  Xinus

编译Linux源代码时出现问题

  •  0
  • Xinus  · 技术社区  · 15 年前

    我正在尝试编译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 回复  |  直到 15 年前
        1
  •  8
  •   Frank Grimm    15 年前

    您正在安装的qt3包是否只包含库,而不包含头文件?也许您需要为Linux发行版安装qt3 devel包或类似的软件包…