Your system does not have a library ncurses. Install this package first, then compile cmake again, you will get ccmake.