Unable to ./configure asterisk


First I want to say that I’m new user here and new user in Asterisk at all. Also I try to install Asterisk on offline machine. So I have installed CentOS 7. Then I download:
Untar all of them and started to make, make install etc.
When I try to ./configure Asterisk I got this error at some point:

checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for initscr in -lcurses... no
checking for initscr in -lncurses... no
configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)

Exact release and version of linux is:

Linux version 3.10.0-123.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon Jun 30 12:09:22 UTC 2014

Any help what can be the problem?

Install it! (Or confirm that it is installed.)

yum -y install ncurses-devel

Also you only need dahdi linux complete, not all the dahdi packages. Dahdi linux complete includes the other two.