Forked from cruzer45/freeswitch 1.6 build steps Ubuntu 14.04.sh
Last active
April 8, 2016 16:20
-
-
Save danbarua/bda9e08bc2304bdbf050c754c0549ad0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add the repositories | |
sudo apt-get update && sudo apt-get install -y curl | |
curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | sudo apt-key add - | |
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" | sudo tee /etc/apt/sources.list.d/freeswitch.list | |
sudo apt-get update | |
# install dependencies | |
sudo apt-get install -y git build-essential libyuv-dev libvpx2-dev liblua5.2-dev libvpx2-dev libvpx2 zlib1g-dev libspeex1 libopus-dev libsndfile-dev autoconf automake devscripts gawk g++ git-core 'libjpeg-dev|libjpeg62-turbo-dev' libncurses5-dev 'libtool-bin|libtool' make python-dev pkg-config libtiff5-dev libperl-dev libgdbm-dev libdb-dev gettext libssl-devlibspeex-dev libspeexdsp-dev libedit-dev libpq-dev libjpeg-dev libsqlite3-dev libcurl4-openssl-dev libpcre3-dev libldns-dev bison | |
#create the source folder | |
mkdir ~/sources && mkdir ~/switch && cd ~/sources | |
#get the code | |
git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git | |
cd freeswitch | |
# The -j argument spawns multiple threads to speed the build process | |
./bootstrap.sh -j | |
# if you want to add or remove modules from the build, edit modules.conf | |
# add a module by removing '#' comment character at the beginning of the line | |
# remove a module by adding the '#' comment character at the beginning of the line containing the name of the module to be skipped | |
# nano modules.conf | |
./configure --enable-fhs | |
make && make install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment