Problem with 'make' in asterisk

Hi all,

I am new to asterisk and have recently installed ubuntu 6.06 successfully.
I obtained the lastest source code for zaptel, libpri and asterisk from digium.
I successfully compiled zaptel and libpri.
Got the following error compiling asterisk.
"The configure script must be executed before running ‘make’."
These are the steps I took from the beginning.

To obtain asterisk: (same for zaptel and libpri)
$ wget --passive-ftp

To extract asterisk source code.
$tar zxvf asterisk-1.4.4.tar.gz

To compile asterisk
$cd /usr/src/asterisk-1.4.4
$make clean

This is the point when I get the error “The configure script must be executed before running ‘make’.”

To resolve this, I tried to do a configure

With the above configure I get the following error.
"termcap support not found

At this point, I installed libtermcap and compiled but got the following error
"usr/include/string.h:292 error syntax error before ‘const’

Can anyone help resolve these problems especially the asterisk compile problem?

To summarize, I have obtained zaptel, libpri, asterisk, bison, libtermcap, newt, ncurses but could not find libtermcap-devel, newt-devel, ncurses-devel. Do I need all these source codes?

I will appreciate any help.


I found a solution to my dilemma. Thanks to a tutorial on the following link: … ebian.html

To resolve the error: “termcap support not found”, do:
apt-get install libncurses5-dev