怎样自己upgrade Elastix的Asterisk?(现在还没有成功,安装后所有extensions不见了!)
| 本帖最後由 角色 於 2013-4-25 01:15 編輯 
 因为有的时候需要修改Elsatix里面的source code,例如ET263等问题。如果可以的话就非常方便了。
 
 1. 下载最新Asterisk asterisk-1.8.21.0.tar.gz。
 
 2. cd /root
 
 3. mkdir source
 
 4. change directory to /root/source
 
 5. copy asterisk-1.8.21.0.tar.gz to /root/source (using ftp external ftp server)
 
 6. tar xvf ./asterisk-1.8.21.0.tar.gz
 
 7. cd ./asterisk-1.8.21.0
 
 8. ./configure (because we need to install the Asterisk to standard directory and path)
 
 Error message 1:
 Solution:複製代碼configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)
[root@localhost asterisk-1.8.21.0]#
8.1. Run ./configure again複製代碼yum -y install libtermcap-devel
 Error message 2:
 Solution: yum -y install limxml2複製代碼checking for xml2-config... no
configure: *** XML documentation will not be available because the 'libxml2' development package is missing.
configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option
configure: *** or install the 'libxml2' development package.
[root@localhost asterisk-1.8.21.0]#
 8.2 Run ./configure again
 
 The error message is the same as Error message 2, we need to install the development package for libxml2
 8.3 Run ./configure again, it gives複製代碼yum -y install libxml2-devel
複製代碼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 :
[root@localhost asterisk-1.8.21.0]#
 |