PDA

View Full Version : [ubuntu] problem with make menuconfig



nikibg
August 1st, 2012, 03:07 PM
I must compile one linux distribution .
When i try menuconfig its return me

root@ubuntuserver1:~/10mm50-90/linux-2.6.24.7# make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
scripts/kconfig/lxdialog/dialog.h:32:20: fatal error: curses.h: No such file or directory
compilation terminated.
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2
Why that happend :confused:

rubylaser
August 1st, 2012, 10:55 PM
You need to grab the curses library as the error message mentions. This should do it.


sudo apt-get install libncurses5-dev libncursesw5-dev

* Package names may be incorrect, I don't have access to 12.04 box at this point to check the repos.

nikibg
August 2nd, 2012, 09:09 AM
10x it is working :)