LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to customise Kernel? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-customise-kernel-749311/)

vibinlakshman 08-21-2009 10:05 AM

How to customise Kernel?
 
I had try to do this operation but end up with the below problem
vibin@vibin-top:/usr/src/linux-headers-2.6.28-14$ sudo !!
sudo make menuconfig
HOSTCC scripts/basic/fixdep
v HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:104: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:306: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2


I'm not able to perform menuconfig . Is there anything that I need to do to get it worked .. Helps awaiting ...

markush 08-21-2009 11:33 AM

There are also "make xconfig" and "make kconfig" which don't use the ncurses-library.

Markus

i92guboj 08-21-2009 12:14 PM

You need the ncurses headers to compile the menuconfig tool, that's usually installed by a package named ncurses-devel or something similar.

vibinlakshman 08-21-2009 08:28 PM

Quote:

Originally Posted by i92guboj (Post 3652642)
You need the ncurses headers to compile the menuconfig tool, that's usually installed by a package named ncurses-devel or something similar.

Sorry , I'm not able to figure out the exact ncurses from synaptic , it shows more programs , which I think are unnecessary .
Can You help me to install it , [xconfig also show error ]

vibinlakshman 08-21-2009 08:29 PM

Quote:

Originally Posted by markush (Post 3652592)
There are also "make xconfig" and "make kconfig" which don't use the ncurses-library.

Markus

Both are showing problems for my system , doesnt get work !!

vibinlakshman 08-21-2009 08:36 PM

[Solved]
 
Yea I got it !!sudo apt-get install libncurses5-dev
Now it get worked .. Thanks i92guboj , U helped me lot to get installed Gentoo !!

i92guboj 08-21-2009 08:41 PM

About {x,k,g}config, I guess the problem is the same, you need the respective header files for every set of libraries (xlib, qt, gtk+). I've never used them, I consider that an overkill just to configure a kernel. But in case you or anyone else reading the thread cares...


All times are GMT -5. The time now is 12:34 PM.