ubuntu16.04系统安装freeswitch

1、apt-get update
2、apt-get upgrade
3、apt-get install -y git build-essential automake autoconf libtool g++ zlib1g-dev libjpeg-dev libncurses5-dev libsqlite3-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libspeex-dev libldns-dev libedit-dev libssl-dev pkg-config yasm liblua5.2-dev liblua5.2 libopus-dev libsndfile-dev libtool libpq-dev pkg-config libtiff5-dev libtiff5 libvpx-dev libvpx3 libvpx3 libopus-dev uuid-dev libsndfile-dev
4、git clone -b v1.8 https://freeswitch.org/stash/scm/fs/freeswitch.git
5、cd freeswitch
6、./bootstrap.sh -j
7、./configure
8、cd src/
9、wget https://cmake.org/files/v3.13/cmake-3.13.3.tar.gz
10、tar zxvf cmake-3.13.3.tar.gz
11、cd cmake-3.13.3/
12、./bootstrap
13、make
14、make install
15、cd ..
16、git clone https://github.com/signalwire/libks.git
17、cd libks/
18、cmake .
19、make
20、make install
21、cd ..
22、git clone https://github.com/signalwire/signalwire-c.git
23、cd signalwire-c/
24、cmake .
25、make
26、make install
27、cp /usr/local/lib/pkgconfig/.pc /usr/lib/pkgconfig/
28、cp -f /usr/local/lib/
/lib64/
29、cd ..
30、make
31、make install
32、ln -s /usr/local/freeswitch/bin/* /usr/bin/

转载于:https://blog.51cto.com/14291809/2378924

你可能感兴趣的:(ubuntu16.04系统安装freeswitch)