==Building freeswitch under ubuntu 12.04 x64== Here describes how to build freeswitch from using Git. There is no official binary distribution as the time of edit. And we STRONGLY suggest follow this wiki guide. and append/amend info you feel useful to this page.= === AWK === To resolve the dependency on gawk for ubuntu 12.04 x64, the system awk link was updated to point to gawk using the following command
sudo apt-get -y install gawk && sudo update-alternatives --set awk /usr/bin/gawk===prerequisite=== sudo apt-get install git-core subversion build-essential autoconf automake libtool libncurses5 libncurses5-dev make libjpeg-dev shtool libspandsp-dev gawk libasound2-dev optional packages: sudo apt-get install libcurl4-openssl-dev libexpat1-dev libgnutls-dev libtiff4-dev libx11-dev unixodbc-dev libssl-dev python2.7-dev zlib1g-dev libzrtpcpp-dev libasound2-dev libogg-dev libvorbis-dev libperl-dev libgdbm-dev libdb-dev uuid-dev libvlc-dev extra language support packages: (DO NOT INSTALL) sudo apt-get install openjdk-7-jdk libluajit-5.1-dev ===compile (official) source and compile=== use root account to: cd /usr/src git clone git://git.freeswitch.org/freeswitch.git cd freeswitch update-alternatives --set awk /usr/bin/gawk ./bootstrap.sh -j vim ./modules.conf ## edit the required module you need. so far u dont need to change a line. ./configure make && make install for tar.bz2 release u dont need bootstrap.sh -j === compile luna version of freeswitch === git@g77k.com:luna-fs.git cd luna-freeswitch ./bootstrap.sh -j && ./configure --without-libcurl make && make install ===ENABLED modules for luna project === xml_int/mod_xml_curl ===Making Sounds=== sudo make all install cd-sounds-install cd-moh-install ===Luna suggested way of running fs-luna=== run under (maintained by c2h2) * user: luna, group: luna * use '''/etc/init.d/lunafs''' to control. /usr/local/freeswitch/bin/freeswitch -u luna -g luna -nonat -conf /usr/local/freeswitch/conf/ -log /var/log/freeswitch/ -db /usr/local/freeswitch/db/ === Building FAQ === * Q: freeswitch make failed with errors. A: '''git cleanup -f''' and then recompile and build. * Q: freeswitch can not run successfully, if you want sample configuration, A: '''sudo make samples''' * Q: quit freeswitch (on freeswitch console)A: '''abc@u1204freeswitch> shutdown''' * Q: build with --without-libcurl as some version of libcurl will trigger a exception, which will crash freeswitch. [http://lists.freeswitch.org/pipermail/freeswitch-users/2011-September/076073.html detail] ===INSTALL LUNAFS-RELEASE== http://192.168.8.28:81/lunafs-release/README.txt