[Freeswitch-users] Mac OS X 10.9.1 Build Instructions

Brian West brian at freeswitch.org
Mon Feb 24 00:25:09 MSK 2014

The wiki needs some love, right now I highly suspect that 10.6, 10.7 and 10.8 will not build due to the recent changes to require OpenSSL 1.0.1e or higher.  These three were verified last month (Jan. 2014).

Here are the instructions I used today in order to get a working build, please test and help update docs for 10.6, 10.7 and 10.8 if have one of those platforms:

Darwin 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_6

cd ~
mkdir src
cd src

curl -4 -o autoconf-2.69.tar.gz http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar zxfv autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr/local
sudo make install
cd ..

curl -4 -o automake-1.14.tar.gz http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
tar zxfv automake-1.14.tar.gz
cd automake-1.14
./configure --prefix=/usr/local
sudo make install
cd ..

curl -4 -o libtool-2.4.tar.gz http://gnu.mirror.constant.com/libtool/libtool-2.4.tar.gz
tar zxfv libtool-2.4.tar.gz
cd libtool-2.4
./configure --prefix=/usr/local --program-prefix=g
sudo make install
cd ..

curl -4 -o pkg-config-0.28.tar.gz http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
tar zxfv pkg-config-0.28.tar.gz
cd pkg-config-0.28
./configure --prefix=/usr/local --with-internal-glib
sudo make install
cd ..

curl -4 -o jpegsrc.v8d.tar.gz http://www.ijg.org/files/jpegsrc.v8d.tar.gz
tar zxfv jpegsrc.v8d.tar.gz
cd jpeg-8d
./configure --prefix=/usr/local
sudo make install
cd ..

curl -4 -o openssl-1.0.1f.tar.gz http://www.openssl.org/source/openssl-1.0.1f.tar.gz
tar zxfv openssl-1.0.1f.tar.gz
cd openssl-1.0.1f
./Configure --prefix=/usr/local/ darwin64-x86_64-cc
sudo make install
cd ..

git clone git://git.freeswitch.org/freeswitch.git freeswitch.git
cd freeswitch.git
./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" 
sudo make install
sudo make sounds-install moh-install

Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140223/94d41394/attachment.bin 

Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list