ubuntu18.04 ncurses 설치

1082 단어
uboot,kernel을 컴파일할 때make menuconfig가 오류를 보고합니다
$ make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/mconf.o
:0:12: fatal error: ncurses.h: No such file or directory
compilation terminated.
scripts/Makefile.host:108: recipe for target 'scripts/kconfig/mconf.o' failed
make[1]: *** [scripts/kconfig/mconf.o] Error 1
Makefile:541: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

아니면 이런 실수.
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
scripts/kconfig/Makefile:200: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:477: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

다음과 같이 설치해야 합니다.
sudo apt-get install libncurses5-dev libncursesw5-dev

좋은 웹페이지 즐겨찾기