LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help needed for 'make menuconfig' (https://www.linuxquestions.org/questions/linux-general-1/help-needed-for-make-menuconfig-47435/)

bush 02-27-2003 12:33 PM

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.

MrJoshua 02-27-2003 12:35 PM

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.

Tinkster 02-27-2003 12:57 PM

"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

kater 02-27-2003 03:39 PM

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


All times are GMT -5. The time now is 08:18 AM.