Re: Compiling Kernel with debian
On Tue, 18 Jul 2000 21:43:14 -0700, Jens Helweg wrote: dialog.h:29: curses.h: No such file or directory As the other folx already suggested, you need the NCurses development package. But you also need package bin86. This is used to assembler the boot sector code, IIRC. Make sure you got that installed, otherwise kernel compilation will fail again at a later stage. -- Sign the EU petition against SPAM: L I N U X .~. http://www.politik-digital.de/spam/The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: Compiling Kernel with debian
I think if they put libncurses5-dev and bzip2 (and any other missing package) as suggested dependencies for kernel-source then it would save a lot of non-gurus some time. [EMAIL PROTECTED] 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 Jens, 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 dyer -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Compiling Kernel with debian
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 I've downloaded the sources for kernel 2.2.15 and 2.2.16. They both don't work. I've also installed the deb package kernel-source and kernel-headers. Why is this devided ? Am I missing a package ? Thx. Jens
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 ~ [EMAIL PROTECTED]| `' pgpZmalOdcEkJ.pgp Description: PGP signature
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 Jens, 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 dyer