CentOS 6.n 기준, ncurses와 ncurses-devel를 설치하도록 하자. 보통 ncurses-devel이 없어서 안 될 확률이 높다.

우분투 계열이라면 아마도 ncurses-dev.