[Freeswitch-users] freeswitch, Mavericks and MacPorts

Terry Barnum terry at digital-outpost.com
Mon Mar 10 07:41:59 MSK 2014


Thank you very much Mario and Brian though I should've been more specific:

> Those who are much smarter about these things, I'd be happy to hear about another way
*using macports*.

Would it be possible to modify configure.in so that it doesn't fail if homebrew's openssl isn't present but instead uses the CFLAGS and LDFLAGS passed to it?

On the production Macs I manage, I personally find macports to be a simple and reliable package manager. Ports are self-contained and self-reliant in /opt/local and aren't affected by Apple updates. I might be wrong but I'd think that for a machine running freeswitch, stability is a primary concern and using another package manager that instead relies on OS components that Apple can and does change without warning would make it fragile.

For other Mac users who aren't already using a package manager and don't know the process to use macports, it's a simple download of the small binary installer <http://www.macports.org/install.php>, install XCode and the command line tools from Apple and then 'sudo port install <port name>'

There's a very active and responsive community and as of 2014-03-09 at 21:00:26 America/Los_Angeles, there are 18,237 ports.

-Terry

On Mar 9, 2014, at 7:39 PM, Brian West <brian at freeswitch.org> wrote:

> http://www.freeswitch.org/eg/Makefile.macosx
> 
> Works too!  ;)
> 
> Sent from my iPhone
> 
>> On Mar 9, 2014, at 9:10 PM, Mario G <mario_fs at mgtech.com> wrote:
>> 
>> If your interested, I created a new install script on the OSX wiki alternatives page https://wiki.freeswitch.org/wiki/Installation_on_OS_X_Alternatives tested for clean installs of OSX 10.9/8/7 and Xcode perfectly. Hope it helps. Sorry can't get 10.6 working, it's not a clean install. Many more updates coming but wanted to get this up quickly.
>> Mario G
>> 
>>> On Mar 8, 2014, at 2:25 PM, Terry Barnum <terry at digital-outpost.com> wrote:
>>> 
>>> Hi Michael,
>>> 
>>> Right, leaving configure.in uncommented and trying to build with macports dependencies instead of homebrew, the compile failed saying it couldn't find the homebrew openssl. I agree, seems like there should be a better way than removing lines from configure.in because I'm sure I'll forget when it's time to upgrade FS. Those who are much smarter about these things, I'd be happy to hear about another way.
>>> 
>>> Thanks,
>>> -Terry
>>> 
>>>> On Mar 3, 2014, at 7:57 PM, Michael Jerris <mike at jerris.com> wrote:
>>>> 
>>>> why was it necessary to comment out lines in configure.in?  If you don't use homebrew, nothing would be in those directories?
>>>> 
>>>>> On Mar 2, 2014, at 8:37 PM, terry at digital-outpost.com wrote:
>>>>> 
>>>>> For other MacPorts users, here are the steps I took to get freeswitch 
>>>>> working on a Macmini running OS X 10.9.2, Xcode 5.0.2 & MacPorts:
>>>>> 
>>>>> - autoconf, automake, libtool, pkgconfig, jpeg and openssl installed 
>>>>> with MacPorts
>>>>> - mkdir -p /usr/local/src/freeswitch
>>>>> - cd /usr/local/src
>>>>> - git clone git://git.freeswitch.org/freeswitch.git
>>>>> - cd freeswitch
>>>>> - Edit configure.in and comment out darwin lines with hardcoded paths to 
>>>>> homebrew openssl: lines 490, 491, 501, 502, 511 & 512
>>>>> - ./bootstrap.sh
>>>>> - Edit modules.conf to enable mod_rtmp, mod_directory, mod_callcenter, 
>>>>> mod_tts_commandline, mod_dingaling, mod_flite, mod_shout, 
>>>>> mod_pocketsphinx & mod_cidlookup
>>>>> - ./configure -C CFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib
>>>>> - make
>>>>> - sudo make install
>>>>> - sudo make cd-sounds-install cd-moh-install
>>>>> 
>>>>> Configured a phone, a gateway and am making calls!
>>>>> 
>>>>> -Terry
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>> 
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>> 
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> 
>>> 
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 




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