Configure: error

hi sir,
when we install asterisk-1.2.9.1 , then use make command
debian:/usr/src/asterisk-1.2.9.1# make install

following error come

configure: error: termcap support not found
make: *** [editline/libedit.a] Error 1

and in editline no libedit.a file found

please help me
thanks in advance
Rohit

sounds like you’re missing some dependencies.

if yum or apt-get is installed, try yum install libtermcap libtermcap-devel
or

did you check for the other dependencies before attempting to compile ?

hi,
I have try the
apt-get install libtermcap libtermcap-devel
but it shows error
cannot found the package

I have also try another command
apt-get install libncurses5-dev
i got thie error
debian:/asterisk-1.2.9.1/editline# apt-get install libncurses5-dev
Reading Package Lists… Done
Building Dependency Tree… Done
E: Couldn’t find package libncurses5-dev

please help

Rohit

you need to help yourself to some degree. i’m not familiar with debian, but you need to establish if you have a package manager installed. if yes, then google for repositories appropriate to your distro and set these up. if no package manager, either install one, or use something like rpmfind.net to locate packages for the dependencies and install them.

and don’t forget to look at the wiki … voip-info.org/wiki/index.php … nux+Debian

[quote=“gangiyanrohit”]hi,
I have try the
apt-get install libtermcap libtermcap-devel
but it shows error
cannot found the package

I have also try another command
apt-get install libncurses5-dev
i got thie error
debian:/asterisk-1.2.9.1/editline# apt-get install libncurses5-dev
Reading Package Lists… Done
Building Dependency Tree… Done
E: Couldn’t find package libncurses5-dev

please help

Rohit[/quote]

Try this command:

apt-get install libedit-dev libedit2