解决ubuntu内核编译时出现Unable to find the ncurses libraries 错误

以前使用rehat5.5编译linux2.6.28内核,使用make menuconfig,并且已经编译成功过。把这个内核放到ubuntu平台编译的时候出现如下提示:

*** Unable to find the ncurses libraries or the
*** required header files.
*** ‘make menuconfig’ requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again

根据提示:执行apt-get install ncurses-devel 安装这个软件,提示没有找到相应的软件包。

上网查了一下,只需要执行apt-get install ncurses-dev即可,问题得到解决。

发布了5 篇原创文章 · 获赞 7 · 访问量 6万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章