<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic kernel compilation: ncurses issue in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/kernel-compilation-ncurses-issue/m-p/4145501#M63601</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;While trying to build the linux kernel - 2.6.24.2,&lt;BR /&gt;i get the following error message during initial phase(make menuconfig) :&lt;BR /&gt;scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory &amp;lt;===&lt;BR /&gt;In file included from scripts/kconfig/lxdialog/checklist.c:24:&lt;BR /&gt;&lt;BR /&gt;It seems that something is wrong with 'ncurses'&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;#include CURSES_LOC&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;# Where is ncurses.h?&lt;BR /&gt;ccflags()&lt;BR /&gt;{&lt;BR /&gt;if [ -f /usr/include/ncurses/ncurses.h ]; then&lt;BR /&gt;echo '-I/usr/include/ncurses -DCURSES_LOC="&lt;NCURSES.H&gt;"'&lt;BR /&gt;elif [ -f /usr/include/ncurses/curses.h ]; then&lt;BR /&gt;echo '-I/usr/include/ncurses -DCURSES_LOC="&lt;NCURSES&gt;"'&lt;BR /&gt;elif [ -f /usr/include/ncurses.h ]; then&lt;BR /&gt;echo '-DCURSES_LOC="&lt;NCURSES.H&gt;"'&lt;BR /&gt;else&lt;BR /&gt;echo '-DCURSES_LOC="&lt;CURSES.H&gt;"'&lt;BR /&gt;fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;&lt;BR /&gt;After looking into the /usr/include directory , i got to know that the header ncurses.h is absent&lt;BR /&gt;&lt;BR /&gt;On the same machine,i could see an rpm by the name "ncurses-5.5-24.20060715"&lt;BR /&gt;[amit@localhost include]$ rpm -qa|grep -i ncurses&lt;BR /&gt;ncurses-5.5-24.20060715&lt;BR /&gt;&lt;BR /&gt;[amit@localhost include]$ rpm -qi ncurses-5.5-24.20060715&lt;BR /&gt;Name : ncurses Relocations: (not relocatable)&lt;BR /&gt;Version : 5.5 Vendor: Red Hat, Inc.&lt;BR /&gt;Release : 24.20060715 Build Date: Thu 31 Aug 2006 05:41:08 PM IST&lt;BR /&gt;Install Date: Thu 07 Feb 2008 08:30:07 PM IST Build Host: hs20-bc1-7.build.redhat.com&lt;BR /&gt;Group : System Environment/Libraries Source RPM: ncurses-5.5-24.20060715.src.rpm&lt;BR /&gt;Size : 2829883 License: distributable&lt;BR /&gt;Signature : DSA/SHA1, Thu 18 Jan 2007 09:40:59 PM IST, Key ID 5326810137017186&lt;BR /&gt;Packager : Red Hat, Inc. &amp;lt;&amp;gt;&lt;BR /&gt;URL : NCURSES - New Curses&lt;BR /&gt;Summary : A terminal handling library&lt;BR /&gt;Description :&lt;BR /&gt;The curses library routines are a terminal-independent method of&lt;BR /&gt;updating character screens with reasonable optimization. The ncurses&lt;BR /&gt;(new curses) library is a freely distributable replacement for the&lt;BR /&gt;discontinued 4.4 BSD classic curses library.&lt;BR /&gt;&lt;BR /&gt;i tried to install the latest ncurses(version 5.6) downloaded from the site:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.6.tar.gz," target="_blank"&gt;ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.6.tar.gz,&lt;/A&gt; but this also failed during the 'make' step&lt;BR /&gt;&lt;BR /&gt;Now to configure the kernel, i can go through the .config file and edit the parameters there,&lt;BR /&gt;but this would be really a tedious job(though heard that most of the programmers prefer this)&lt;BR /&gt;&lt;BR /&gt;One guy asked me to install the development library,and while doing the same,following issues creeped up&lt;BR /&gt;&lt;BR /&gt;I tried a lot to find the ncurses-development library for version 5.5 for Redhat 5 over net,but could not&lt;BR /&gt;&lt;BR /&gt;[root@localhost ]# rpm -qa|grep -i *ncurses*&lt;BR /&gt;ncurses-5.5-24.20060715&lt;BR /&gt;&lt;BR /&gt;[root@localhost ]# locate libncurses.so.5&lt;BR /&gt;/usr/lib/libncurses.so.5&lt;BR /&gt;/usr/lib/libncurses.so.5.5&lt;BR /&gt;&lt;BR /&gt;on Debian, i guess the package manager is "synaptic", but what is the packet manager over here(redhat 5)?&lt;BR /&gt;i also tried to remove the "ncurses-5.5-24.20060715" which gave me a lot of dependecies issues&lt;BR /&gt;[root@localhost ]# rpm -e ncurses-5.5-24.20060715&lt;BR /&gt;error: Failed dependencies:&lt;BR /&gt;libncurses.so.5 is needed by (installed) info-4.8-14.el5.i386&lt;BR /&gt;libncurses.so.5 is needed by (installed) procps-3.2.7-8.1.el5.i386&lt;BR /&gt;libncurses.so.5 is needed by (installed) sqlite-3.3.6-2.i386&lt;BR /&gt;libncurses.so.5 is needed by (installed) crash-4.0-3.14.i386&lt;BR /&gt;-----------------&lt;BR /&gt;-----------------&lt;BR /&gt;so should i go ahead with removing the "ncurses-5.5-24.20060715" and install the latest version,i.e. Version ncurses 5.6 and corrosponding development library ? will there be any bad impact on dependents ?&lt;BR /&gt;&lt;BR /&gt;~amit&lt;/SNIP&gt;&lt;/CURSES.H&gt;&lt;/NCURSES.H&gt;&lt;/NCURSES&gt;&lt;/NCURSES.H&gt;&lt;/SNIP&gt;&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
    <pubDate>Fri, 15 Feb 2008 06:37:56 GMT</pubDate>
    <dc:creator>amit mehta_2</dc:creator>
    <dc:date>2008-02-15T06:37:56Z</dc:date>
    <item>
      <title>kernel compilation: ncurses issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-compilation-ncurses-issue/m-p/4145501#M63601</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;While trying to build the linux kernel - 2.6.24.2,&lt;BR /&gt;i get the following error message during initial phase(make menuconfig) :&lt;BR /&gt;scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory &amp;lt;===&lt;BR /&gt;In file included from scripts/kconfig/lxdialog/checklist.c:24:&lt;BR /&gt;&lt;BR /&gt;It seems that something is wrong with 'ncurses'&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;#include CURSES_LOC&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;# Where is ncurses.h?&lt;BR /&gt;ccflags()&lt;BR /&gt;{&lt;BR /&gt;if [ -f /usr/include/ncurses/ncurses.h ]; then&lt;BR /&gt;echo '-I/usr/include/ncurses -DCURSES_LOC="&lt;NCURSES.H&gt;"'&lt;BR /&gt;elif [ -f /usr/include/ncurses/curses.h ]; then&lt;BR /&gt;echo '-I/usr/include/ncurses -DCURSES_LOC="&lt;NCURSES&gt;"'&lt;BR /&gt;elif [ -f /usr/include/ncurses.h ]; then&lt;BR /&gt;echo '-DCURSES_LOC="&lt;NCURSES.H&gt;"'&lt;BR /&gt;else&lt;BR /&gt;echo '-DCURSES_LOC="&lt;CURSES.H&gt;"'&lt;BR /&gt;fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP from="" linux-2.6.24.2=""&gt;&lt;BR /&gt;&lt;BR /&gt;After looking into the /usr/include directory , i got to know that the header ncurses.h is absent&lt;BR /&gt;&lt;BR /&gt;On the same machine,i could see an rpm by the name "ncurses-5.5-24.20060715"&lt;BR /&gt;[amit@localhost include]$ rpm -qa|grep -i ncurses&lt;BR /&gt;ncurses-5.5-24.20060715&lt;BR /&gt;&lt;BR /&gt;[amit@localhost include]$ rpm -qi ncurses-5.5-24.20060715&lt;BR /&gt;Name : ncurses Relocations: (not relocatable)&lt;BR /&gt;Version : 5.5 Vendor: Red Hat, Inc.&lt;BR /&gt;Release : 24.20060715 Build Date: Thu 31 Aug 2006 05:41:08 PM IST&lt;BR /&gt;Install Date: Thu 07 Feb 2008 08:30:07 PM IST Build Host: hs20-bc1-7.build.redhat.com&lt;BR /&gt;Group : System Environment/Libraries Source RPM: ncurses-5.5-24.20060715.src.rpm&lt;BR /&gt;Size : 2829883 License: distributable&lt;BR /&gt;Signature : DSA/SHA1, Thu 18 Jan 2007 09:40:59 PM IST, Key ID 5326810137017186&lt;BR /&gt;Packager : Red Hat, Inc. &amp;lt;&amp;gt;&lt;BR /&gt;URL : NCURSES - New Curses&lt;BR /&gt;Summary : A terminal handling library&lt;BR /&gt;Description :&lt;BR /&gt;The curses library routines are a terminal-independent method of&lt;BR /&gt;updating character screens with reasonable optimization. The ncurses&lt;BR /&gt;(new curses) library is a freely distributable replacement for the&lt;BR /&gt;discontinued 4.4 BSD classic curses library.&lt;BR /&gt;&lt;BR /&gt;i tried to install the latest ncurses(version 5.6) downloaded from the site:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.6.tar.gz," target="_blank"&gt;ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.6.tar.gz,&lt;/A&gt; but this also failed during the 'make' step&lt;BR /&gt;&lt;BR /&gt;Now to configure the kernel, i can go through the .config file and edit the parameters there,&lt;BR /&gt;but this would be really a tedious job(though heard that most of the programmers prefer this)&lt;BR /&gt;&lt;BR /&gt;One guy asked me to install the development library,and while doing the same,following issues creeped up&lt;BR /&gt;&lt;BR /&gt;I tried a lot to find the ncurses-development library for version 5.5 for Redhat 5 over net,but could not&lt;BR /&gt;&lt;BR /&gt;[root@localhost ]# rpm -qa|grep -i *ncurses*&lt;BR /&gt;ncurses-5.5-24.20060715&lt;BR /&gt;&lt;BR /&gt;[root@localhost ]# locate libncurses.so.5&lt;BR /&gt;/usr/lib/libncurses.so.5&lt;BR /&gt;/usr/lib/libncurses.so.5.5&lt;BR /&gt;&lt;BR /&gt;on Debian, i guess the package manager is "synaptic", but what is the packet manager over here(redhat 5)?&lt;BR /&gt;i also tried to remove the "ncurses-5.5-24.20060715" which gave me a lot of dependecies issues&lt;BR /&gt;[root@localhost ]# rpm -e ncurses-5.5-24.20060715&lt;BR /&gt;error: Failed dependencies:&lt;BR /&gt;libncurses.so.5 is needed by (installed) info-4.8-14.el5.i386&lt;BR /&gt;libncurses.so.5 is needed by (installed) procps-3.2.7-8.1.el5.i386&lt;BR /&gt;libncurses.so.5 is needed by (installed) sqlite-3.3.6-2.i386&lt;BR /&gt;libncurses.so.5 is needed by (installed) crash-4.0-3.14.i386&lt;BR /&gt;-----------------&lt;BR /&gt;-----------------&lt;BR /&gt;so should i go ahead with removing the "ncurses-5.5-24.20060715" and install the latest version,i.e. Version ncurses 5.6 and corrosponding development library ? will there be any bad impact on dependents ?&lt;BR /&gt;&lt;BR /&gt;~amit&lt;/SNIP&gt;&lt;/CURSES.H&gt;&lt;/NCURSES.H&gt;&lt;/NCURSES&gt;&lt;/NCURSES.H&gt;&lt;/SNIP&gt;&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
      <pubDate>Fri, 15 Feb 2008 06:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-compilation-ncurses-issue/m-p/4145501#M63601</guid>
      <dc:creator>amit mehta_2</dc:creator>
      <dc:date>2008-02-15T06:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: kernel compilation: ncurses issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-compilation-ncurses-issue/m-p/4145502#M63602</link>
      <description>Don't remove the existing ncurses package. Removing it will break all programs that use ncurses.&lt;BR /&gt;&lt;BR /&gt;You're missing the _development headers_ package for ncurses. It's usually named like "ncurses-dev".&lt;BR /&gt;&lt;BR /&gt;It is packaged separately so that you won't need to install the development header files (=lots of small files) if you never compile any software.&lt;BR /&gt;&lt;BR /&gt;The package manager of RedHat Enterprise Linux 5 is "yum". If you use it to request the installation of any package, it should be able to download it from the RedHat Network automatically... assuming your system is registered with RHN.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 15 Feb 2008 08:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-compilation-ncurses-issue/m-p/4145502#M63602</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-02-15T08:46:26Z</dc:date>
    </item>
  </channel>
</rss>

