今天在更新CentOS或者Ubuntu的内核时,执行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库,需要安装该库(Ncurses 提供字符终端处理库,包括面板和菜单)

解决办法如下:
CentOS:
yum install -y ncurses-devel

Ubuntu:
sudo apt-get install ncurses-dev

相关文章:

  • 2021-09-22
  • 2022-12-23
  • 2021-06-10
  • 2021-11-20
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
猜你喜欢
  • 2021-11-26
  • 2021-10-07
  • 2022-01-13
  • 2022-12-23
  • 2021-08-11
  • 2021-08-19
  • 2021-07-29
相关资源
相似解决方案