在 linux 編譯核心時 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-devel,安裝一下就可以了
CentOS:
yum install -y ncurses-devel
Ubuntu:
sudo apt-get install ncurses