EasyARM-iMX283A的make menuconfig出现错误:Install ncurses(ncurses-devel) and try again。

lin@lin-machine:~/linux-2.6.35.3$ 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[]: *** [scripts/kconfig/dochecklxdialog] Error
make: *** [menuconfig] Error

EasyARM-iMX283A的make menuconfig出现错误:Install ncurses(ncurses-devel) and try again。

解决思路

ncurses是字符终端下屏幕控制的基本库。可能很多新开发的程序已经不再使用。假如要编译一些老的程序,还是会经常碰到。

解决这个问题可以通过下面的解决方法来搞定。打开一个终端输入下面这条语句按回车进行安装即可。

apt-get install libncurses5-dev
lin@lin-machine:~/linux-2.6.35.3$ sudo apt-get install libncurses5-dev
[sudo] password for lin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libtinfo-dev
Suggested packages:
ncurses-doc
The following NEW packages will be installed:
libncurses5-dev libtinfo-dev
upgraded, newly installed, to remove and not upgraded.
Need to get kB of archives.
After this operation, , kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get: http://cn.archive.ubuntu.com/ubuntu/ trusty/main libtinfo-dev amd64 5.9+20140118-1ubuntu1 [76.3 kB]
Get: http://cn.archive.ubuntu.com/ubuntu/ trusty/main libncurses5-dev amd64 5.9+20140118-1ubuntu1 [170 kB]
Fetched kB in 2s ( kB/s)
Selecting previously unselected package libtinfo-dev:amd64.
(Reading database ... files and directories currently installed.)
Preparing to unpack .../libtinfo-dev_5.+-1ubuntu1_amd64.deb ...
Unpacking libtinfo-dev:amd64 (5.9+-1ubuntu1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_5.+-1ubuntu1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (5.9+-1ubuntu1) ...
Setting up libtinfo-dev:amd64 (5.9+-1ubuntu1) ...
Setting up libncurses5-dev:amd64 (5.9+-1ubuntu1) ...

好了再make menuconfig一下,OK了

EasyARM-iMX283A的make menuconfig出现错误:Install ncurses(ncurses-devel) and try again。

上一篇:tp5文件上传展示


下一篇:Ncurses - Panel