make menuconfig 提示ncurses 的问题

1220阅读 0评论2017-09-07 ispsubb
分类:LINUX


ubuntu 14.04  make menuconfig 需要  ncurses libraries ,不然提示如下错误。

 *** Unable to find the ncurses libraries or the  
 *** required header files.  
 *** 'make menuconfig' requires the ncurses libraries.  
 ***   
 *** Install ncurses (ncurses-devel) and try again.  
 ***   
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1  
make: *** [menuconfig] Error 2  

网上很多解法。
 sudo apt-get install ncurses-devel

 sudo apt-get install libncurses5-dev

我遇到的情况,已经装了,但还是提示问题终极解决办法是
sudo apt-get autoremove libncurses5-dev
sudo apt-get install libncurses*

上一篇:shell 杂记
下一篇:Linux内核模块基础 调整Linux内核启动中的驱动初始化顺序