当前位置: 代码迷 >> 综合 >> manuconfig错误 Unable to find the ncurses libraries or the ?required header files
  详细解决方案

manuconfig错误 Unable to find the ncurses libraries or the ?required header files

热度:40   发布时间:2023-11-20 02:57:16.0

make menuconfig之后错误如下所示:

taozhang@taozhang-virtual-machine:~/share/4412/buildroot/buildroot-2015.05$ make menuconfig
mkdir -p /home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \obj=/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config -C support/kconfig -f Makefile.br mconf
make[1]: 正在进入目录 `/home/taozhang/share/4412/buildroot/buildroot-2015.05/support/kconfig'*** 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[1]: *** [/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/dochecklxdialog] 错误 1
make[1]:正在离开目录 `/home/taozhang/share/4412/buildroot/buildroot-2015.05/support/kconfig'
make: *** [/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/mconf] 错误 2

原因是缺少一个库文件,可以使用如下命令解决:

sudo apt-get install ncurses-dev

 

  相关解决方案