Saturday, July 18, 2015

Compiling FreeSwitch on Lubuntu


I referenced the following page:

Debian/Ubunut and apt Based Systems
http://edoceo.com/howto/freeswitch#apt

~ # apt-get install gawk
~ # update-alternatives --set awk /usr/bin/gawk
~ # apt-get install autoconf build-essential git libtool make
~ # apt-get install libssl-dev libasound2-dev libogg-dev libvorbis-dev
~ # cd /usr/src
. # git clone -b v1.4 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
. # cd freeswitch
. # ./bootstrap.sh
. # ./configure ...
. # make
. # make install


The following commands are what I did actually. You may have to change them to fit your environment:

# apt-get install gawk
# update-alternatives --set awk /usr/bin/gawk
# apt-get install autoconf build-essential git libtool make
# apt-get install libssl-dev libasound2-dev libogg-dev libvorbis-dev
# apt-get install libjpeg-dev pkg-config sqlite3 libsqlite3-dev libcurl3 libcurl4-openssl-dev libpcre3-dev libspeex-dev  speex libspeex1 libspeexdsp-dev libldns-dev libedit-dev
# cd /usr/src/
# git clone -b v1.4 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
# cd /usr/src/freeswitch/
# ./bootstrap.sh
# ./configure
# make
# make install


Reference:

・No speex packages for freeswitch building on Ubuntu
http://askubuntu.com/questions/491479/no-speex-packages-for-freeswitch-building-on-ubuntu





No comments: