다음의 순서로 작업을 시작했다.

jonathan@MyWork:~/workspace/09.ETC$ mkdir Asterisk
jonathan@MyWork:~/workspace/09.ETC$ cd Asterisk/
jonathan@MyWork:~/workspace/09.ETC/Asterisk$ ls
jonathan@MyWork:~/workspace/09.ETC/Asterisk$ wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12-current.tar.gz
--2013-09-11 15:39:37--  http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12-current.tar.gz
Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 56720157 (54M) [application/x-gzip]
Saving to: 'asterisk-12-current.tar.gz'

100%[=====================================================================================================================>] 56,720,157  54.1KB/s   in 17m 6s 

2013-09-11 15:56:44 (54.0 KB/s) - 'asterisk-12-current.tar.gz' saved [56720157/56720157]

jonathan@MyWork:~/workspace/09.ETC/Asterisk$ ls
asterisk-12-current.tar.gz
jonathan@MyWork:~/workspace/09.ETC/Asterisk$ tar xvfz asterisk-12-current.tar.gz 

그리고 configure 작업을 위해, 다음의 패키지들을 설치해주었다.

jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk-12.0.0-alpha1$ sudo apt-get install uuid-dev libjansson-dev libxml2-dev sqlite3 libsqlite3-dev

configure 완료.

configure: Menuselect build configuration successfully completed

               .$$$$$$$$$$$$$$$=..      
            .$7$7..          .7$$7:.    
          .$$:.                 ,$7.7   
        .$7.     7$$$$           .$$77  
     ..$$.       $$$$$            .$$$7 
    ..7$   .?.   $$$$$   .?.       7$$$.
   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
 .777.   .$$$$$$77$$$77$$$$$7.      $$$,
 $$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7 
$$$       .7$$$$$$$$$$$$$$$$      :$$$. 
$$$       $$$$$$7$$$$$$$$$$$$    .$$$.  
$$$        $$$   7$$$7  .$$$    .$$$.   
$$$$             $$$$7         .$$$.    
7$$$7            7$$$$        7$$$      
 $$$$$                        $$$       
  $$$$7.                       $$  (TM)     
   $$$$$$$.           .7$$$$$$  $$      
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$      
       $$$$$$$$$$$$$$$$.                

configure: Package configured for: 
configure: OS type  : linux-gnu
configure: Host CPU : i686
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: i686 : pc : linux-gnu :

make 를 하자.

jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk−12.0.0−alpha1$ make
jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk−12.0.0−alpha1$ sudo 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    +
 +-------------------------------------------+
마지막으로 기본 Test와 문서 작성을 위해서 make samples 와 make progdocs 를 입력하자.
jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk-12.0.0-alpha1$ sudo make progdocs 
jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk-12.0.0-alpha1$ sudo make samples 



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.