OK, I’ve got it and tested it!
freeswitch@freeswitch:8021@internal> version
FreeSWITCH Version 1.5.15b+git~20150425T191526Z~3058709a92~64bit (git 3058709 2015-04-25 19:15:26Z 64bit)
Update system to the latest:
1 2 3 |
pkgin up pkgin ug |
Install the necessary software:
1 2 3 4 5 6 7 |
pkgin install git gcc47 gmake autoconf gettext gettext-m4 automake libtool pkg-config \ unixodbc speex libogg libvorbis libshout ldns editline libjpeg-turbo libpqxx yasm nasm mkdir /opt/local/src cd /opt/local/src |
To build from the current release source code:
1 |
git clone -b v1.4 https://stash.freeswitch.org/scm/fs/freeswitch.git |
(or if you want to build from Master, the latest source code:
1 |
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git |
)
1 2 3 |
cd freeswitch ./bootstrap.sh -j |
If you want to add or remove modules from the build, edit modules.conf
1 2 3 4 5 6 7 8 9 |
vi modules.conf ./configure -C –prefix=/opt/local/freeswitch –enable-64 –enable-optimization –enable-core-pgsql-support make make install make cd-sounds-install cd-moh-install |
When finished, FreeSWITCH should be located under /opt/local/freeswitch
Enjoy and stay tuned!
Leave a Reply