Difference between revisions of "FreeSWITCH compile"
From FusionPBX
(→files.freeswitch.org) |
(→Postgres driver) |
||
Line 25: | Line 25: | ||
==Postgres driver== | ==Postgres driver== | ||
− | ./configure --enable-core-pgsql-support | + | ./configure --enable-core-pgsql-support |
+ | |||
+ | ==Remove FreeSWITCH files== | ||
+ | Remove files from previous version of FreeSWITCH | ||
+ | rm -rf /usr/local/freeswitch/{lib,mod,bin}/* | ||
==Run Make== | ==Run Make== |
Revision as of 03:26, 28 September 2014
Contents
Git
cd /usr/src git clone -b v1.4 https://stash.freeswitch.org/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh
or
files.freeswitch.org
wget http://files.freeswitch.org/freeswitch-1.4.8.zip unzip freeswitch-1.4.8.zip cd freeswitch-1.4.8
Ubuntu Dependencies
apt-get install autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool make python-dev gawk pkg-config libtiff-dev libperl-dev libgdbm-dev libdb-dev gettext libssl-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libsqlite3-dev libedit-dev libldns-dev libpq-dev memcached libmemcached-dev
Debian Dependencies
apt-get install autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool make python-dev gawk pkg-config libtiff5-dev libperl-dev libgdbm-dev libdb-dev gettext libssl-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libsqlite3-dev libedit-dev libldns-dev libpq-dev memcached libmemcached-dev
modules.conf
uncomment the FreeSWITCH modules that are needed.
mod_avmd mod_callcenter mod_memcache
Postgres driver
./configure --enable-core-pgsql-support
Remove FreeSWITCH files
Remove files from previous version of FreeSWITCH
rm -rf /usr/local/freeswitch/{lib,mod,bin}/*
Run Make
make make install
File Permissions
Set the file permissions