LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2009, 10:05 AM   #1
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Wink 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 ...
 
Old 08-21-2009, 11:33 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

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

Markus
 
Old 08-21-2009, 12:14 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
You need the ncurses headers to compile the menuconfig tool, that's usually installed by a package named ncurses-devel or something similar.
 
Old 08-21-2009, 08:28 PM   #4
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Wink

Quote:
Originally Posted by i92guboj View Post
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 ]
 
Old 08-21-2009, 08:29 PM   #5
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Red face

Quote:
Originally Posted by markush View Post
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 !!
 
Old 08-21-2009, 08:36 PM   #6
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Wink [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 !!
 
Old 08-21-2009, 08:41 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I customise my BIOS? johngreenwood Linux - Software 7 03-23-2007 05:39 AM
How to customise Fluxbox? raid517 Linux - Software 4 05-22-2006 05:02 PM
How to apply kernel patch and customise? subaruwrx Linux - Software 7 12-30-2004 09:40 PM
how to customise what appear on the 'desktop' ? netkepala Linux - Software 4 04-30-2003 12:28 PM
Trying to customise K Menu iainr Linux - General 5 01-28-2003 05:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration