Categories
Computers

asterisk 1.6 on centos 6.5 minimal

# sudo yum install wget

# wget http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-1.6.0.24.tar.gz
# tar -zxvf asterisk-1.6.0.24.tar.gz

# cd asterisk-1.6.0.24

asterisk-1.6.0.24# ./configure

checking for gcc… no

asterisk-1.6.0.24# sudo yum install gcc

asterisk-1.6.0.24# ./configure

checking for g++… no
checking for c++… no
—-
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.

asterisk-1.6.0.24# sudo yum install gcc-c++

asterisk-1.6.0.24# ./configure

configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)

asterisk-1.6.0.24# sudo yum install libtermcap-devel

after configuration, asterisk ASCII art logo appears, no errors

asterisk-1.6.0.24# make

asterisk-1.6.0.24# make install