解決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萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章