# Unable to ./configure asterisk

**URL:** <https://community.asterisk.org/t/unable-to-configure-asterisk/50074>\
**Category:** Asterisk Support\
**Created:** [December 9, 2015, 12:46pm UTC](https://community.asterisk.org/t/unable-to-configure-asterisk/50074 "2015-12-09T12:46:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinsbg](https://avatars.discourse-cdn.com/v4/letter/v/f08c70/32.png) [@vinsbg](https://community.asterisk.org/u/vinsbg)\
**Post date:** [December 9, 2015, 12:46pm UTC](https://community.asterisk.org/t/unable-to-configure-asterisk/50074/1 "2015-12-09T12:46:00Z")

</div>

Hello,

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:  
[ul]asterisk-11-current.tar.gz  
libpri-1.4-current.tar.gz  
dahdi-linux-current.tar.gz  
dahdi-tools-current.tar.gz  
dahdi-linux-complete-current.tar.gz  
[/ul]  
Untar all of them and started to make, make install etc.  
When I try to ./configure Asterisk I got this error at some point:

```auto
....
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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [December 9, 2015, 3:53pm UTC](https://community.asterisk.org/t/unable-to-configure-asterisk/50074/2 "2015-12-09T15:53:34Z")

</div>

> [@](#):
>
> this typically means the ncurses development package is missing

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

---

<div class="post-metadata">

**Author:** ![\_alx\_](https://avatars.discourse-cdn.com/v4/letter/_/4da419/32.png) [@\_alx\_](https://community.asterisk.org/u/_alx_)\
**Post date:** [December 10, 2015, 8:22am UTC](https://community.asterisk.org/t/unable-to-configure-asterisk/50074/3 "2015-12-10T08:22:53Z")

</div>

yum -y install ncurses-devel

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