LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-27-2003, 12:33 PM   #1
bush
LQ Newbie
 
Registered: Feb 2003
Posts: 12

Rep: Reputation: 0
Angry Help needed for 'make menuconfig'


I need to compile kernel in order to set up real-time linux OS. I download linux-2.4.19 and tar it into /usr/src/linux-2.4.19 directory. Then I type in command 'make menuconfig' under Mandrake 9.0, but it displays:

[root@localhost linux-2.4.19]# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory
`/usr/src/linux-2.4.19/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory
`/usr/src/linux-2.4.19/scripts/lxdialog'
make: *** [menuconfig] Error 2

The problem seems that ncurses library is not installed. So I run the following commands:

rpm -ivh libncurses-5.2...... rpm
rpm -ivh ncurses-5.2-27mdk.rpm ~{#(~}in rpms directory~{#)~}
rpm -ivh ncurses-extraterms-5.2-27mdk.rpm~{#(~}in rpms3 directory~{#)~}

However, the problem is also there.
What's wrong about it? And How can I install ncurse library under Mandrake 9.0? or How can I fix it to make the command 'make menuconfig' to work?


Thank you for your any answers.
 
Old 02-27-2003, 12:35 PM   #2
MrJoshua
Member
 
Registered: Apr 2002
Location: Houston Texas
Distribution: Debian / Gentoo / RHEL
Posts: 209

Rep: Reputation: 31
I had a similar problem, except ncurses was installed on my system already. I never figured it out, and just started using "make xconfig" it is nice if you have Xwindows installed, but if not I am sorry I could not help more.
 
Old 02-27-2003, 12:57 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
"Seek and ye shall find" (grep is your friend! ;})

from /usr/src/linux/scripts/Menuconfig
Code:
There seems to be a problem with the lxdialog companion utility which is
built prior to running Menuconfig.  Usually this is an indicator that you
have upgraded/downgraded your ncurses libraries and did not remove the
old ncurses header file(s) in /usr/include or /usr/include/ncurses.
Happy hunting!

Cheers,
Tink
 
Old 02-27-2003, 03:39 PM   #4
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
Hard but makeable: make config
But try to resolve the (n)curse problem like Tinkster posted.

Last edited by kater; 02-27-2003 at 03:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
make: *** No rule to make target 'menuconfig' yussef Debian 10 12-22-2005 09:23 AM
make: *** No rule to make target `menuconfig' Ezzy Linux - Newbie 3 04-21-2005 09:21 AM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM
make menuconfig itsjustme Slackware 6 03-07-2004 01:33 PM
make menuconfig liguorir Linux - Software 1 06-19-2003 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:01 PM.

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