Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
Some packages produce keg-only messages which can be ignored. It means an alias (link) for the package was not placed into /usr/local/bin because brew found that OS X has another version installed. This is not a problem because the FreeSWITCH™ installation process searches Homebrew directories to find package.

Install Required Support Packages

Some basic FreeSWITCH™ prerequisite packages are There are 4 additional FreeSWITCH™ required support packages not available from homebrew. There are currently 4 packages that must be installed manually. They are all placed script below will install them into /usr/local for easy removal. Run the following lines in Terminal exactly as they are below:Copy the text below, paste it into Textedit, and follow the instructions at the top of the text. Alternatively, the individual lines can be copied into Terminal and run one at a time, be sure to copy them exactly as they appear.

Code Block
#!/bin/sh
# This script can be run asis or separated into multiple scripts, and/or edited for different directories, or run one line at a time.
# Example of how to use this script:
# 1. Create /usr/local and /usr/local/src as documented in the OS X install wiki page
# 2. Save this text on the Desktop as fssupport.command
# 3. chmod +x ~/Desktop/fssupport.command
# 4. Run command in terminal: . ~/Desktop/fssupport.command
#
# Prompts: None
#  
OS_Version=$(sw_vers -productVersion | sed "s:.[[:digit:]]*.$::g")
if [[ ${OS_Version} == 10.9 ]] | [[ ${OS_Version} == 10.10 ]] ; then   # need extra homebrew package
brew install nasm
fi
cd /usr/local/src
git clone https://freeswitch.org/stash/scm/sd/libflite.git
cd libflite
./configure --prefix=/usr/local
make
make install
#
cd /usr/local/src
git clone https://freeswitch.org/stash/scm/sd/libvpx.git
cd libvpx
./configure --prefix=/usr/local
make
make install
#
cd /usr/local/src
git clone https://freeswitch.org/stash/scm/sd/libyuv.git
cd libyuv
perl -pi -e s{PREFIX:=/usr}{PREFIX:=/usr/local} /usr/local/src/libyuvx/makefile
perl -pi -e s{" -m 755 "}{" "} /usr/local/src/libyuvx/makefile
perl -pi -e s{" -m 644 "}{" "} /usr/local/src/libyuvx/makefile
./configure --prefix=/usr/local
make
make install
#
cd /usr/local/src
git clone https://freeswitch.org/stash/scm/sd/opus.git
cd opus
./autogen.sh
./configure --prefix=/usr/local
make
make install
exit 0

 

 

...