Re: ncurses
Shawn Boyette wrote:
You have the ncurses runtime libs installed, but not the development
headers needed to compile a curses program, which is what menuconfig
is. Install libncurses5-dev and everything should be fine.
I have the ncurses headers installed:
archway:/usr/src/linux-2.4.23# apt-get install libncurses5-dev
Reading Package Lists... Done
Building Dependency Tree... Done
libncurses5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
The error when running 'make menuconfig' is as follows:
archway:/usr/src/linux-2.4.23# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-sparc64 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.23/scripts/lxdialog'
/usr/bin/ld: skipping incompatible
/usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libncurses.so when searching
for -lncurses
/usr/bin/ld: skipping incompatible
/usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libncurses.a when searching
for -lncurses
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libncurses.so
when searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libncurses.a when
searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when
searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/libncurses.a when
searching for -lncurses
/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.23/scripts/lxdialog'
make: *** [menuconfig] Error 2
The libraries and headers are there, but the symlinks appear mangled,
and I'm not entirely sure how to fix it.
Best wishes,
Peter.
Reply to:
- References:
- ncurses
- From: Peter Hicks <Peter.Hicks@POGGS.CO.UK>