Ubuntu11.10編譯內核:make xconfig錯誤

問題:

# 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

發佈了31 篇原創文章 · 獲贊 2 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章