Problem in Kernel compilation.

Submitted by sara
on July 21, 2004 - 3:14am

I downloaded the kernel version 2.6.0 from kernel.org website.
After extracting it, I tried to execute "make menuconfig" after executing the "make mrproper". It's telling the error that "Curses.h : No Such file or directory".

I manually copied the curses.h in appropriate directories. Still it's not working.

Kindly suggest me in this regards.

Regards,
Saravan

make menuconfig

on
July 21, 2004 - 12:37pm

the lxdialog bits, that menuconfig uses, look for the curses header files in the following places (this is from 2.4.26, but it's probably not much different in 2.6.x):

/usr/include/ncurses/ncurses.h
/usr/include/ncurses/curses.h
/usr/include/curses.h
/usr/include/ncurses.h

On my debian system, it's /usr/include/curses.h (and ncurses.h is a symblink to it).

But.. you probably shouldn't go copying around curses.h arbitrarily. Install the appropriate package for your distribution. On my debian install (unstable/testing), it's "libncurses5-dev".

-- Fred

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.