您的位置:首页 > 运维架构 > Linux

Linux编译内核执行make menuconfig或者make xconfig出错

2017-08-25 22:21 736 查看
执行make menuconfig后出错:

*** Unable to find the ncurses libraries or the

 *** required header files.

 *** 'make menuconfig' requires the ncurses libraries.

 *** 

 *** Install ncurses (ncurses-devel) and try again.

 *** 
原因:缺少ncurses相关的库。
可行解决方法:执行apt-get install libncurses5-dev 

执行make xconfig后出错:

* Unable to find the QT4 tool qmake. Trying to use QT3

*

* Unable to find any QT installation. Please make sure that

* the QT4 or QT3 development package is correctly installed and

* either qmake can be found or install pkg-config or set

* the QTDIR environment variable to the correct location.

*
原因:没有QT环境。

可行解决方法:执行apt-get
install qt4-dev-tools

特别说明:我的环境中执行上面两个命令后,就可以正常执行make
menuconfig和make xconfig。若你的环境还是不行,那就需要找其他的解决方案。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: