2013年8月30日 星期五

error message (when installing backports)

I got an error message when I install backports.
(how to type Chinese under Ubuntu? orz....)

the following is the error message:

-----------------------------------------------------------
backports-3.10-2$ make menuconfig

Generating local configuration database from kernel ... done.
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="" -DLOCALE   -c -o mconf.o mconf.c
In file included from mconf.c:23:0:
lxdialog/dialog.h:38:21: fatal error: ncurses.h: No such file or directory
compilation terminated.
make[2]: *** [mconf.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

-----------------------------------------------------------
and, the solution is just using apt-get to install some packages. XD

sudo apt-get install libncurses5-dev libncursesw5-dev