ubuntu 安装ncurses(转)

来源:互联网 发布:删除表的sql语句drop 编辑:程序博客网 时间:2024/05/16 01:04

make defconfig
 若defconfig回显提示缺少软件包或编译库等依赖,则按提示安装所缺软件包或库等即可,不难的,细心点就行。


编译Linux内核时会提示:

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是字符终端下屏幕控制的基本库。可能很多新开发的程序都不使用了,不过如果要编译一些老程序,还经常遇得到。
执行命令
sudo apt-get install libncurses5-dev

就OK了。

原创粉丝点击