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

Re: Compiling Kernel with debian



Once upon a time, I heard Jens Helweg say

> 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 a ncurses-dev package. Do

apt-get install libncurses5-dev

to get a necessary header file in order to do make menuconfig.

You don't need curse for either make config or make oldconfig.


Cheers,

Chanop
-- 
,----------------------------------------------------------------.
| Just Debian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chanop@debian.org|
`----------------------------------------------------------------'

Attachment: pgpPXDV4xbR9d.pgp
Description: PGP signature


Reply to: