linux終端make menuconfig錯誤解決方法


linux終端錯誤:Unable to find the ncurses

libraries or the required header files解決

在終端執行make mebuconfig 出現以下錯誤:

[root@bogon linux-2.6.35.7]# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
 *** 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] 錯誤 1
make: *** [menuconfig] 錯誤 2

 

解決方法:

1)、apt-get的主流Linux系統包括Debian和Ubuntu變異版本

sudo apt-get install ncurses-dev

2)、有yum源的安裝

sudo yum install -y ncurses-devel

 

然后就可以用make menuconfig命令來打開菜單設置了:

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM