返回列表 發帖

Installation script

Here is my asterisk source code installation scripts
  1. #get branch
  2. svn co http://svn.asterisk.org/svn/asterisk/branches/1.8 asterisk-1.8
  3. #get trunk
  4. #svn checkout http://svn.asterisk.org/svn/asterisk/trunk asterisk-1.8
  5. cd asterisk-1.8
  6. ./configure
  7. #this is ony for format MP3 - SVN required
  8. contrib/scripts/get_mp3_source.sh
  9. contrib/scripts/get_ilbc_source.sh
  10. make menuselect
  11. make
複製代碼

yum grouplist

TOP

回復 14# ckleea

你上面的libraries是怎样display出来呢?

角色

TOP

回復 13# ckleea


   
我有九成幾跟你的安裝選項相同。而大部份都是在安裝CentOS 時一併安裝的。所以在Install Asterisk 時,只需按照日前所發的Scripts 行一次便可以順利完成。

TOP

For your information,  I will do a VM trial for you.

The basic DVD I choose if I go for asterisk is AsteriskNOW which includes most libraries.

Of course you may need to add other Developmental Libraries and Tools when doing compiling.

TOP

Developmental Libraries
  1. Package zlib-devel-1.2.3-4.el5.i386 already installed and latest version
  2. Package glibc-devel-2.5-65.i386 already installed and latest version
  3. Package readline-devel-5.1-3.el5.i386 already installed and latest version
  4. Package ncurses-devel-5.5-24.20060715.i386 already installed and latest version
  5. Package bzip2-devel-1.0.3-6.el5_5.i386 already installed and latest version
  6. Package log4cpp-1.0-9.el5.i386 already installed and latest version
  7. Package libtermcap-devel-2.0.8-46.1.i386 already installed and latest version
  8. Package pam-devel-0.99.6.2-6.el5_5.2.i386 already installed and latest version
  9. Package lockdev-devel-1.0.1-10.i386 already installed and latest version
  10. Package newt-perl-1.08-9.2.2.i386 already installed and latest version
  11. Package cyrus-sasl-devel-2.1.22-5.el5_4.3.i386 already installed and latest version
  12. Package gpm-devel-1.20.1-74.1.i386 already installed and latest version
  13. Package xulrunner-devel-1.9.2.22-1.el5_7.i386 already installed and latest version
  14. Package pciutils-devel-3.1.7-3.el5.i386 already installed and latest version
  15. Package kudzu-devel-1.2.57.1.26-1.el5.centos.1.i386 already installed and latest version
  16. Package openldap-devel-2.3.43-12.el5_6.7.i386 already installed and latest version
  17. Package slang-devel-2.0.6-4.el5.i386 already installed and latest version
  18. Package db4-devel-4.3.29-10.el5_5.2.i386 already installed and latest version
  19. Package gmp-devel-4.1.4-10.el5.i386 already installed and latest version
  20. Package python-devel-2.4.3-44.el5.i386 already installed and latest version
  21. Package openssl-devel-0.9.8e-20.el5.i386 already installed and latest version
  22. Package curl-devel-7.15.5-9.el5_7.4.i386 already installed and latest version
  23. Package libselinux-devel-1.33.4-5.7.el5.i386 already installed and latest version
  24. Package rpm-devel-4.4.2.3-22.el5.i386 already installed and latest version
  25. Package xmlsec1-devel-1.2.9-8.1.2.i386 already installed and latest version
  26. Package coolkey-devel-1.1.0-15.el5.i386 already installed and latest version
  27. Package boost-devel-1.33.1-10.el5_7.3.i386 already installed and latest version
  28. Package dbus-devel-1.1.2-16.el5_7.i386 already installed and latest version
  29. Package libcap-devel-1.10-26.i386 already installed and latest version
  30. Package sysfsutils-2.1.0-1.el5.i386 already installed and latest version
  31. Package gdbm-devel-1.8.0-26.2.1.el5_6.1.i386 already installed and latest version
  32. Package libacl-devel-2.2.39-6.el5.i386 already installed and latest version
  33. Package libattr-devel-2.4.32-1.1.i386 already installed and latest version
  34. Package krb5-devel-1.6.1-62.el5.i386 already installed and latest version
  35. Package libuser-devel-0.54.7-2.1.el5_5.2.i386 already installed and latest version
  36. Package hesiod-devel-3.1.0-8.i386 already installed and latest version
  37. Package 2:libogg-devel-1.1.3-3.el5.i386 already installed and latest version
  38. Package pcsc-lite-devel-1.4.4-4.el5_5.i386 already installed and latest version
  39. Package libxml2-devel-2.6.26-2.1.12.i386 already installed and latest version
  40. Package expat-devel-1.95.8-8.3.el5_5.3.i386 already installed and latest version
  41. Package libusb-devel-0.1.12-5.1.i386 already installed and latest version
  42. Package newt-devel-0.52.2-15.el5.i386 already installed and latest version
  43. Package 1:libvorbis-devel-1.1.2-3.el5_4.4.i386 already installed and latest version
複製代碼

TOP

Please look at what I have installed
  1. Installed Groups:
  2.    Administration Tools
  3.    Authoring and Publishing
  4.    DNS Name Server
  5.    Development Libraries
  6.    Dialup Networking Support
  7.    Editors
  8.    Engineering and Scientific
  9.    FTP Server
  10.    FreeNX and NX
  11.    GNOME Desktop Environment
  12.    GNOME Software Development
  13.    Games and Entertainment
  14.    Graphical Internet
  15.    Graphics
  16.    Java
  17.    Java Development
  18.    Legacy Network Server
  19.    Legacy Software Development
  20.    Legacy Software Support
  21.    Mail Server
  22.    Mono
  23.    MySQL Database
  24.    Network Servers
  25.    News Server
  26.    Office/Productivity
  27.    PostgreSQL Database
  28.    Printing Support
  29.    Ruby
  30.    Server Configuration Tools
  31.    Sound and Video
  32.    System Tools
  33.    Text-based Internet
  34.    Virtualization
  35.    Web Server
  36.    Windows File Server
  37.    X Window System
  38.    Yum Utilities
  39. Available Groups:
  40.    AsteriskNOW
  41.    Base
  42.    Beagle
  43.    Cluster Storage
  44.    Clustering
  45.    Development Tools
  46.    Digium
  47.    Emacs
  48.    Horde
  49.    KDE (K Desktop Environment)
  50.    KDE Software Development
  51.    KVM
  52.    OpenFabrics Enterprise Distribution
  53.    Tomboy
  54.    X Software Development
  55.    XFCE-4.4
  56. Done
複製代碼

TOP

跟角色通電話後,發覺原來他仍有很多必要的libraries 沒有裝,而且,他在CentOS沒有yum groupinstall development tools 之類的東西,所以去到Asterisk make menuselect 和 make & make install 時有咁多缺漏了。

TOP

回復 9# bubblestar

I have exactly followed your procedure but I am still not able to make the Speex work on my Asterisk box.

YH

TOP

YH,

You need to  install most for one time only. Reinstallation normally applies to asterisk only.

TOP

YH must be so sleepy now

If you have strictly follow my scripts, you should have found that Speex codec has been included.

# Codec Translators > codec_speex
cd /usr/src/asterisk-complete
wget http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz
tar xvzf speex-1.2rc1.tar.gz
cd speex-1.2rc1
./configure && make && make install

TOP

follow bubblestar script to get speex

TOP

I have execute the following command
contrib/scripts/get_ilbc_source.sh  (in order to have the iLBC codec).

Before compiling it, I would like to add Speex codec too.

YH

TOP

回復 5# 角色

YH,

Can you make it?

CK

TOP

Okay I see. I am sorry that I forgot what you have said.

YH

TOP

返回列表