解決 Unable to find the ncurses package.
問題
輸入make menuconfig更改硬體、網路等配置時時,出現
*
* Unable to find the ncurses package.
* Install ncurses (ncurses-devel or libncurses-dev
* depending on your distribution).
*
* You may also need to install pkg-config to find the
* ncurses installed in a non-default location.
*
make[1]: *** [scripts/kconfig/Makefile:211: scripts/kconfig/mconf-cfg] Error 1
make: *** [Makefile:627: menuconfig] Error 2
解決方法
其原因為找不到ncurses
ncurses用於創建和管理文本,常用於終端的圖形介面、文本編輯器等
允許開發者在終端創建具有文本屆面的程序,並提供介面控制和螢幕管理功能,使能夠創建友好介面的終端程序
透過輸入
sudo apt-get install ncurses-dev
即可解決
0 comments:
張貼留言