您的位置:首页 > 其它

解决错误:unable to find the ncurses libraries

2014-06-04 00:00 453 查看
摘要: 解决错误:unable to find the ncurses libraries

root@ubuntu:/home/share/work/uClinux-dist# make menuconfig
Makefile:268: warning: overriding commands for target `linux’
Makefile:256: warning: ignoring old commands for target `linux’
config/mkconfig > config.in
make -C /home/share/work/uClinux-dist/config/scripts/lxdialog all
make[1]: Entering directory `/home/share/work/uClinux-dist/config/scripts/lxdialog’
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
-e
>> 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 `/home/share/work/uClinux-dist/config/scripts/lxdialog’
make: *** [menuconfig] Error 2

碰到这种情况,可以输入命令:

yum install ncurses-devel

sudo apt-get install ncurses-dev

如果你已经是root ,就没有必要 sudo 了。待安装完毕后,再执行make menuconfig命令就可以了!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ncurses
相关文章推荐