Kompilace Asterisk 1.8.11

bash
wget http://downloads.asterisk.org/pub/telephony/certified-asterisk/certified-asterisk-1.8.11-current.tar.gz
tar -zxvf certified-asterisk-1.8.11-current.tar.gz
apt-get install gcc g++ make libncurses5-dev libxml2-dev
tar -zxvf certified-asterisk-1.8.11-cert9
./configure
make menuselect
make
 +--------- Asterisk Build Complete ---------+
 + Asterisk has successfully been built, and +
 + can be installed by running:              +
 +                                           +
 +                make install               +
 +-------------------------------------------+

make install
 +---- Asterisk Installation Complete -------+
 +                                           +
 +    YOU MUST READ THE SECURITY DOCUMENT    +
 +                                           +
 + Asterisk has successfully been installed. +
 + If you would like to install the sample   +
 + configuration files (overwriting any      +
 + existing config files), run:              +
 +                                           +
 +                make samples               +
 +                                           +
 +-----------------  or ---------------------+
 +                                           +
 + You can go ahead and install the asterisk +
 + program documentation now or later run:   +
 +                                           +
 +               make progdocs               +
 +                                           +
 + **Note** This requires that you have      +
 + doxygen installed on your local system    +
 +-------------------------------------------+
make config
make install-logrotate

root@pbx:~/certified-asterisk-1.8.11-cert9# /etc/init.d/asterisk status
asterisk is not running ... failed!
root@pbx:~/certified-asterisk-1.8.11-cert9# /etc/init.d/asterisk start
Starting Asterisk PBX: asterisk.
root@pbx:~/certified-asterisk-1.8.11-cert9# /etc/init.d/asterisk status
asterisk is running.