PDA

View Full Version : [ubuntu] kernel make menuconfig: needs ncurses?



edderd
March 16th, 2009, 08:00 PM
To build a kernel using make menuconfig, which ncurses package am I missing? The error indicates I'm missing ncurses-devel, but it's not available according to apt-get...

I have (from dpkg -S ncurses):
libncurses5: /usr/share/doc/libncurses5/README.Debian
ncurses-bin: /usr/share/doc/ncurses-bin
libncursesw5: /usr/share/doc/libncursesw5/changelog.Debian.gz
ncurses-base: /usr/share/doc/ncurses-base
libncurses5: /usr/share/doc/libncurses5

I'd like to build the Linux kernel using make menuconfig, but it fails with

root@falcon:/usr/src/linux-2.6.28.7# make menuconfig
*** 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 downloaded linux-2.6.28.7.

It's been awhile since I built a kernel. What am I missing?

khelben1979
March 16th, 2009, 09:25 PM
Maybe this guide (http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html) can help you out?

bettlebrox
March 16th, 2009, 09:43 PM
Hi edderd,

You need the development package libncurses5-dev:

sudo apt-get install libncurses5-dev

edderd
March 17th, 2009, 12:30 AM
Hi edderd,

You need the development package libncurses5-dev:

sudo apt-get install libncurses5-dev

that's what I needed to know. Thanks!

kaineos
June 21st, 2010, 01:45 PM
Thank you.

dino99
June 21st, 2010, 02:27 PM
you can use one of the latest kernel built into the trusted ppa on launchpad: https://launchpad.net/~kernel-ppa/+archive/ppa

MonkeyZazu
December 2nd, 2010, 03:30 AM
Hi edderd,

You need the development package libncurses5-dev:

sudo apt-get install libncurses5-dev

this also helped me, thank you

IceMetal
March 16th, 2011, 05:14 AM
Hi edderd,

You need the development package libncurses5-dev:
sudo apt-get install libncurses5-dev


This help me so much if we ever met I'll buy a drink!!!!:popcorn:

snarf77
March 29th, 2011, 11:31 AM
Same for me....

many thnks for the trick !!

sivakumarar
April 10th, 2011, 05:29 PM
Thanks a lot it helped me.:)

mitalpritmani
October 7th, 2011, 10:55 AM
Hi edderd,

You need the development package libncurses5-dev:

sudo apt-get install libncurses5-dev


Hey bettlebrox, Thnx.. :) It worked !!!

OsOsOs
October 22nd, 2011, 01:44 PM
I'm having the same problem. But after checking

sudo apt-get install libncurses5-dev

it still gives "Couldn't find package libncurses5-dev"

iron_guitarist1987
October 26th, 2011, 03:58 PM
I used
sudo apt-get install libncurses5-dev


Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.


And it still says that I require ncurses

gaby81
January 8th, 2012, 03:16 PM
Worked for me. Thanks

gaby81
January 8th, 2012, 03:17 PM
I used
sudo apt-get install libncurses5-dev


Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
And it still says that I require ncurses

Try to reinstall those packages

agritool
January 14th, 2012, 01:47 PM
Hi edderd,

You need the development package libncurses5-dev:
sudo apt-get install libncurses5-dev

thanks, good information for me :D

reggler
April 18th, 2012, 11:27 PM
Hi edderd,

You need the development package libncurses5-dev:

sudo apt-get install libncurses5-dev

Also helped me! Thanks! :)

achillesshiva
August 6th, 2012, 07:50 AM
Thanks a lot.. This is what I needed. :)

LinuxRoad
August 20th, 2012, 04:19 PM
I also have the same question:


I used
sudo apt-get install libncurses5-dev


Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.


And it still says that I require ncurses