我执行make xconfig后报错:
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [scripts/kconfig/qconf] Error 2
难道一定要装QT?以前我的2.4.18就不用,怎么解决?
[quote:bec2db5c0e="lingxz"]我执行make xconfig后报错:
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [scripts/kconfig/qconf] Error 2
难道一定要装QT?以前我的2.4.18就不用,怎么解决?[/quote]
2.5版本以后的内核不再使用tcl/tk的图形界面,改用qt作为图形界面的内核配置程序,所以,如果编译内核的时候使用make xconfig,必须安装qt.
如果没有qt,可以使用make config或者make menuconfig,make config是命令行的,make menuconfig使用的curses库。或者用老的配置,可以直接导过来,使用make oldconfig