[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling Kernel with debian

Jens Helweg wrote:

> Hi,
> I've just installed my first debian disrtibution (Potato 2.2) and I
> wanted to compile a new kernel but get the
> following error message when I execute make menuconfig:
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts/lxdialog all
> make[1]: Entering directory `/usr/src/linux/scripts/lxdialog'
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
> -DCURSES_LOC="<curses.h>"   -c -o lxdialog.o lxdialog.c
> In file included from lxdialog.c:22:
> dialog.h:29: curses.h: No such file or directory
> make[1]: *** [lxdialog.o] Error 1
> make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
> make: *** [menuconfig] Error 2

You need to install libncurses5-dev.  It's only necessary for menuconfig.  May I also
suggest using the kernel-package utility. It simplifies building and maintaining
kernels.  There's good documentation to get you going.
# apt-get install libncurses5-dev kernel-package

Also, for a lot of questions you can find answers in the Mailing List Archive. This
question about ncurses.h pops up all the time. www.debian.org/List-Archives has a
sweet search tool at the bottom.

good luck


Reply to: