linux에서 makeconfig를 편하게 메뉴식으로 하기 위해서는 'make menuconfig'를 치면 된다.

하지만 처음에 ncurses-devel이 설치되어 있지않다고 먼저 설치하라는 에러가 나온다.

즉, 아래와 같은 형식으로 에러가 발생한다.

lebych@ubuntu:~/works/ARM/linux/temp/kernel-2.6.13$ make menuconfig
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
-e
>> Unable to find the Ncurses libraries.
>>
>> You must install ncurses-devel in order
>> to use 'make menuconfig'

make[2]: *** [scripts/lxdialog/ncurses] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
lebych@ubuntu:~/works/ARM/linux/temp/kernel-2.6.13$

설명과도 같이 ncurses-devel을 먼저 설치하라고 나오는데,

Ubuntu에서는 rpm과는 다르게 설치를 해야한다.

sudo apt-get install libncurses5-dev

위와 같이 입력하면 설치가 되며, 'make menuconfig'가 잘 실행될 것이다.

Posted by 벅스바니
,