编译Linux内核时出现“ncurses-devel”错误
通常在安装完Linux系统后,在编译kernel使用make menuconfig时,可能会出现如下错误:*** Unableto find the ncurses libraries or the*** required header files.*** 'makemenuconfig' requires the ncurses libraries.
通常在安装完Linux系统后,在编译kernel使用make menuconfig时,可能会出现如下错误:
|
出现该错误的原因是:在使用menuconfig时需要ncurses库的支持,而该库包含ncurses和ncurses-devel两个包,大部分情况ncurses包会跟随系统安装好,而ncurses-devel包根据安装系统时你的选择。可以使用命令查看他们有没有安装:
|
如果没安装则可使用yum命令直接在线安装(注意要求联网):
安装完成后在试make menuconfig,错误排除了。
|
更多推荐
所有评论(0)