Help-Asterisk make install fails: termcap support not found


#1

Hello,
I have a problem during installation of Asterisk under SUSE 9.3
I got the latest source versions via CSV today.
I do not have digium hardware for now, so I did not install Zartel
Lib
But here you see the error I get when making asterisk.

checking for ranlib… ranlib
checking for ar… /usr/bin/ar
checking for tgetent in -ltermcap… no
checking for tgetent in -ltinfo… no
checking for tgetent in -lcurses… no
checking for tgetent in -lncurses… no
configure: error: termcap support not found
make: *** [editline/libedit.a] Error 1

I found in my computer files belonging to termcap under /usr/inclde/tercap, under /usr/lib/termcap, under /etc/termcap, …
So, I guess that termcap is available, but may be not in the right path.

I am not a programmer, so I don’t know what I should change to allow the compiler to find termcap.

I some of you have an idea, thanks in advance.


#2

Did you install those packages:
bison
ncurses-dev
libssl-dev
libnewt-dev
zlib1g-dev

because they are required by Asterisk PBX :exclamation: :exclamation: :exclamation: :exclamation:


#3

[quote=“bgtroll”]Did you install those packages:
bison
ncurses-dev
libssl-dev
libnewt-dev
zlib1g-dev

because they are required by Asterisk PBX :exclamation: :exclamation: :exclamation: :exclamation:[/quote]

Hello
Many thanks.
This was the problem indeed.
ncurses was missing and libssl also.
It took me while to detect that libssl was part of openssl

I was able to install without error message.
Next problem is that Asterisk seems not to boot well.
I copied the minimum recommended config files in /etc/asterisk,
as described in the first doc manual.
When I test asterisk as described in the docs with “asterisk -cvvv”,
after the announced error messages (some files not found), at the end the CLI prompt is not shown. I come back to the normal root prompt.

What can I do?
Thank in advance for the help.


#4

[quote=“ederon”]
Next problem is that Asterisk seems not to boot well.
I copied the minimum recommended config files in /etc/asterisk,
as described in the first doc manual.[/quote]

Recommended: After the installation use make samples, and then you can comment all things you don not need in the configuration files.


#5

I made the sample config files
now I get the CLI.
Many Thanks.

I recognize that I am new to all these topics.
My problem is now that I have a lot of config files.
And it will take a while before I will know what is mandatory,
what can commented out, …
With the minimum described files, I was happy.
To learn how it works, I would be happy with config files allowing two internal sip phones calling each other.
Than as next step a voicemail on no answer.
Nest step would be outbound calling to subscribers connected to another sip server.
And so on.


#6

I am also having this issue, I am installing on Suse 10. At first I was getting compile issue.

missing
glibc-kernheaders
glibc-headers

i did a fresh install now i’m getting termcap

missing bison
libssl-dev
libnewt-dev
zlib1g-dev

i changed my installation source and I still can’t find these files…what can i do? someone please help


#7

[quote=“notquiteanewbie”]I am also having this issue, I am installing on Suse 10. At first I was getting compile issue.
i did a fresh install now i’m getting termcap

missing bison
libssl-dev
libnewt-dev
zlib1g-dev

[/quote]

Do what it says. You need:
bison
libssl-dev
libnewt-dev
zlib1g-dev


#8

My question is where can I get the files, if I’m only using an online installation source, and it is not able to find them.