Ubuntu11.10编译内核:make xconfig错误

来源:互联网 发布:centos退出root 编辑:程序博客网 时间:2024/05/16 07:43
问题:

# 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]: *** 没有规则可以创建“scripts/kconfig/qconf.o”需要的目标“scripts/kconfig/.tmp_qtcheck”。 停止。
make: *** [xconfig] 错误 2

解决办法:

要先安装libqt3-compat-headers:执行

sudo apt-get install libqt3-compat-headers

sudo apt-get install kernel-package
sudo apt-get install build-essential