Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page HELP::Kernel compilation:ncurses issue
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Closed Thread
 
Thread Tools Display Modes
Old 02-13-2008   #1 (permalink)
Just Joined!
 
amit4g's Avatar
 
Join Date: Feb 2007
Location: Bangalore,India
Posts: 41
HELP::Kernel compilation:ncurses issue

Hi,

Though this has nothing to do with linux kernel as such,but posting here as someone might have faced the similar issue during kernel compilation.


While trying to build the linux kernel - 2.6.24.2,
i get the following error message during initial phase(make menuconfig) :
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory <===
In file included from scripts/kconfig/lxdialog/checklist.c:24:

It seems that something is wrong with 'ncurses'
<snip from linux-2.6.24.2/scripts/kconfig/lxdialog/dialog.h>
#include CURSES_LOC
<snip from linux-2.6.24.2/scripts/kconfig/lxdialog/dialog.h>

<snip from linux-2.6.24.2/scripts/kconfig/lxdialog/check-lxdialog.sh>
# Where is ncurses.h?
ccflags()
{
if [ -f /usr/include/ncurses/ncurses.h ]; then
echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"'
elif [ -f /usr/include/ncurses/curses.h ]; then
echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"'
elif [ -f /usr/include/ncurses.h ]; then
echo '-DCURSES_LOC="<ncurses.h>"'
else
echo '-DCURSES_LOC="<curses.h>"'
fi
}

<snip from linux-2.6.24.2/scripts/kconfig/lxdialog/check-lxdialog.sh>

After looking into the /usr/include directory , i got to know that the header ncurses.h is absent

On the same machine,i could see an rpm by the name "ncurses-5.5-24.20060715"
[amit@localhost include]$ rpm -qa|grep -i ncurses
ncurses-5.5-24.20060715

[amit@localhost include]$ rpm -qi ncurses-5.5-24.20060715
Name : ncurses Relocations: (not relocatable)
Version : 5.5 Vendor: Red Hat, Inc.
Release : 24.20060715 Build Date: Thu 31 Aug 2006 05:41:08 PM IST
Install Date: Thu 07 Feb 2008 08:30:07 PM IST Build Host: hs20-bc1-7.build.redhat.com
Group : System Environment/Libraries Source RPM: ncurses-5.5-24.20060715.src.rpm
Size : 2829883 License: distributable
Signature : DSA/SHA1, Thu 18 Jan 2007 09:40:59 PM IST, Key ID 5326810137017186
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : NCURSES - New Curses
Summary : A terminal handling library
Description :
The curses library routines are a terminal-independent method of
updating character screens with reasonable optimization. The ncurses
(new curses) library is a freely distributable replacement for the
discontinued 4.4 BSD classic curses library.

i tried to install the latest ncurses(version 5.6) downloaded from the site:

ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.6.tar.gz, but this also failed during the 'make' step

Now to configure the kernel, i can go through the .config file and edit the parameters there,
but this would be really a tedious job(though heard that most of the programmers prefer this), as i haven't done it before,hence please guide me here.

~amit
amit4g is offline  
Old 02-13-2008   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Duplicate Threads/Posts are not allowed. Its against Forum Rules. Please continue here only.
Thread Locked.
__________________
New Users: Read This First


devils casper is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem With My New Installation / Startup Issue Keir Ubuntu Help 0 11-22-2006 09:49 AM
Grub/Redhat/Windows boot issue RyanMD Redhat / Fedora Linux Help 1 06-28-2006 09:31 PM
is this a browser issue or web server issue? mselvam Servers 0 07-21-2005 06:19 AM
Monitor H and V Synch Issue with FC3 and X11 Antifreeze Redhat / Fedora Linux Help 1 03-25-2005 01:42 AM
Issue with the NIC card on Redhat Linux 3.0 Suryakalidindi Redhat / Fedora Linux Help 0 03-21-2005 03:30 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 07:15 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0