歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 11.04下make menuconfig 無法運行

Ubuntu 11.04下make menuconfig 無法運行

日期:2017/2/28 16:11:32   编辑:Linux教程

安裝了Ubuntu 11.04操作系統,這個操作系統感覺上是用來上上網,辦公什麼的還行,要是用來開發感覺還是有點不是很好用,因為好多庫沒裝。

這不,我本想編譯下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.

***

make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1

make: *** [menuconfig] Error 2

看錯誤的信息應該是少了什麼庫,上網搜索了下,果然是少了一個庫,保證PC聯網,使用下面的命令就可以了,我就是用的這個命令,我的Linux內核是2.6.38.8的:

$sudo apt-get install libncurses*

帶上“*”的原因是想安裝以這個為開頭的庫,防止只安裝部分過會又有什麼問題。

Copyright © Linux教程網 All Rights Reserved