ubuntu 安装ncurses(转)

来源:互联网 发布:太原知达中学 编辑:程序博客网 时间:2024/04/28 15:33

编译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了。

1 0
原创粉丝点击