Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th January 2011, 11:38 AM
inp3dance Offline
Registered User
 
Join Date: Jun 2005
Posts: 11
linuxfirefox
make menuconfig doesn't find ncurses headers

Make menuconfig doesn't find ncurses headers on my system, howerver ncurses-devel package is installed. I get the following error message:
Code:
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 even did a reinstall of all ncurses related stuff with
Code:
yum reinstall ncurses ncurses-libs ncurses-devel
but doesn't changed anything.

Recently I tried to install Adobe Air on my 64 bit system, wich required a lot off stuff, but in the end I does not succeded. I kept track all of the packages wich I had to install to make Air work, and later I removed all of them and all the dependencies pulled in one by one - I think the ncurses problem appeard then, I broke something, but I don't know what.

I use Fedora 14 x86_64 KDE

Any help would be great, I use linux for 5-6 years now, but I'm new at Fedora.

Thank you in advance!
Reply With Quote
  #2  
Old 18th January 2011, 01:03 PM
SiliconSlick's Avatar
SiliconSlick Offline
Registered User
 
Join Date: Aug 2009
Location: College Station, TX
Posts: 501
linuxfedorafirefox
Re: make menuconfig doesn't find ncurses headers

Assuming you are building a custom kernel ala http://fedoraproject.org/wiki/Docs/CustomKernel ...

If I remove ncurses-devel and do make menuconfig, I get the same error (FC14 x86_64). Once I install it is happy again.

Hacking on the scripts by adding an 'echo' and 'ldd' to get some info -- i.e. modifying scripts/kconfig/lxdialog/check-lxdialog.sh so that lines 38-45 look like this:

Code:
check() {
	echo  $cc -xc - -o $tmp
        $cc -xc - -o $tmp 2>/dev/null <<'EOF'
#include CURSES_LOC
main() {}
EOF
	ldd $tmp
	if [ $? != 0 ]; then
gives this output:

gcc -I/usr/include/ncurses -DCURSES_LOC=<ncurses.h> -DLOCALE -lncursesw -xc - -o .lxdialog.tmp
linux-vdso.so.1 => (0x00007fff44310000)
libncursesw.so.5 => /lib64/libncursesw.so.5 (0x0000003688a00000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003697400000)
libc.so.6 => /lib64/libc.so.6 (0x0000003685600000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003685e00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003685200000)

which doesn't shed much light on the problem since /usr/include/ncurses/ncurses.h and /usr/lib64/ncursesw.so are included in ncurses-devel and /lib64/libncursesw.so.5 is provided by ncurses-lib.

Not sure what is going on unless for some strange reason it wants ncurses-devel.i686 and ncurses-lib.i686 for your build (I only needed the x86_64 version here).

SS
Reply With Quote
  #3  
Old 18th January 2011, 03:52 PM
inp3dance Offline
Registered User
 
Join Date: Jun 2005
Posts: 11
linuxfirefox
Re: make menuconfig doesn't find ncurses headers

No, installing ncruses-lib.i686 and ncurses-devel.i686 does not solve the problem. I think I will need a reinstall

---------- Post added at 06:52 PM ---------- Previous post was at 06:49 PM ----------

By the way, I built my kernel the simple way, just unpacking the source, applying some fedora patches, make oldconfig, make menuconfig and make install.
But eighter way, ncurses headers are needed for make menuconfig.
Reply With Quote
  #4  
Old 18th January 2011, 03:55 PM
vallimar Online
Registered User
 
Join Date: Jul 2008
Posts: 808
windows_xp_2003chrome
Re: make menuconfig doesn't find ncurses headers

You aren't trying to do this from the /usr/src/ kernel dir provided by kernel-devel are you?
It won't work if you are as those are not the complete kernel sources.
Reply With Quote
Reply

Tags
headers, make, menuconfig, ncurses

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make menuconfig doesn't find ncurses headers inp3dance Fedora Spins & Remixes 0 18th January 2011 01:09 AM
make menuconfig gives error hanumant Using Fedora 1 10th July 2007 10:17 AM
Make menuconfig crossmr Installation and Live Media 4 12th January 2006 02:41 AM
i cant run make menuconfig linux juggler Using Fedora 2 26th August 2005 12:34 AM
make menuconfig doesn't work rech Using Fedora 2 30th January 2005 09:51 PM


Current GMT-time: 15:44 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat