[Freeswitch-users] FreeSWITCH, OSX, Libtool, Macports

Chris Mylonas chris at opencsta.org
Fri May 11 06:23:18 MSD 2012


That's great Mario.  I will update my blog accordingly where I posted some stuff (http://mrvoip.com.au/blog/install-freeswitch-osx-mysql-must-remove-macports)

I just winged it because it used to work, so most of the prerequisites were installed.
I did not put the --with-openssl flag when doing configure.  What functionality do I lose?


pkgconfig was already on my system from earlier efforts - so I guess I got lucky with that one.
To be honest, once I resolved my macports issues (by removing it) it was just like doing it in linux.

I'd like to give it another shot with a fresh OSX install - but I really don't want to go about setting up my machine again!  I have an old imac that is not doing much, but I don't think it will run 10.6 :(   I will try and give it a shot this afternoon seeing as my girlfriend is out taking photos :)

Kind Regards,
Chris




On 11/05/2012, at 11:48 AM, Mario G wrote:

> Chris, I have been running FS on 10.6,x since 2010 fine and have been updating a lot recently to help testing, I have had no problems. I don't use macport stuff. I wrote the original FS osX wiki but there are some differences since 2010 (I am working on fixing the wiki in the next few weeks). The wiki install instructions work if you add the following. Hope this helps:
> 
> 1. Add this info:
> FreeSWITCH™ has many functions that invoke PKG-CONFIG, so it must be downloaded and installed separately.
> # Got to [http://pkgconfig.freedesktop.org/releases/ here] and download the latest pkg-config, by default it is placed into your Downloads folder.   MUST USE .25 for OSXdue to glib2 dependencies!
> # Open Downloads and click the file to uncompress it.
> # Launch the Terminal application if not already running and issue these commands to move the source to the src directory, build and install:
>     cd ~/Downloads
>     mv pkg-config-0.25 /usr/local/src
>     cd /usr/local/src/pkg-config-0.25
>     ./configure
>     make
>     sudo make install	<– sudo is required because binaries are loaded into /usr/bin
> 
> 
> 2. You MUST do this:
> ./bootstrap.sh
> ./configure --with-openssl
> 
> 3. The FLITE fix is no longer needed.
> 
> On May 10, 2012, at 5:01 PM, Chris Mylonas wrote:
> 
>> Hi FS Users,
>> 
>> tl;dr;  - removed macports, removed tree, pulled fresh tree = installed FS on OSX.
>> 
>> 
>> Here is the longer version that had a bit of a pre-emptive whinge about libtool version mismatch.  But we never got there - it worked!
>> 
>> I'm in the process of re-installing FS on OSX (10.6.8).  I have removed Macports to try and get this up and running.
>> I re-bootstrapped and got this error:
>> 
>> quiet_libtool: Version mismatch error.  This is libtool 2.4, but the
>> quiet_libtool: definition of this LT_INIT comes from libtool 2.2.4.
>> quiet_libtool: You should recreate aclocal.m4 with macros from libtool 2.4
>> quiet_libtool: and run autoconf again.
>> make[1]: *** [libfreeswitch_la-switch_apr.lo] Error 63
>> make: *** [all] Error 2
>> 
>> Removed the whole git tree just in case there was some left over junk.  Pulled a fresh tree and noticed this remark during a fresh bootstrap
>> 
>> arakis:freeswitch-git chrismylonas$ rm -Rf freeswitch/
>> arakis:freeswitch-git chrismylonas$ git clone git://git.freeswitch.org/freeswitch.git
>> Cloning into freeswitch...
>> remote: Counting objects: 185609, done.
>> remote: Compressing objects: 100% (39208/39208), done.
>> remote: Total 185609 (delta 143241), reused 181443 (delta 140035)
>> Receiving objects: 100% (185609/185609), 77.85 MiB | 267 KiB/s, done.
>> Resolving deltas: 100% (143241/143241), done.
>> arakis:freeswitch-git chrismylonas$ cd freeswitch/
>> arakis:freeswitch chrismylonas$ ./bootstrap.sh 
>> bootstrap: checking installation...
>> bootstrap: autoconf version 2.61 (ok)
>> bootstrap: automake version 1.10 (ok)
>> bootstrap: aclocal version 1.10 (ok)
>> bootstrap: libtool version 2.2.4 (ok)
>> Bootstrapping using:
>>   autoconf  : /usr/bin/autoconf
>>   automake  : /usr/bin/automake
>>   aclocal   : /usr/bin/aclocal
>>   libtool   : /usr/bin/glibtool (2.2.4.)
>>   libtoolize: /usr/bin/glibtoolize
>>   make      : /usr/bin/make (GNU Make 3.81)
>>   awk       :  ()
>> 
>> It is still reporting a 2.2.4 version of libtool.
>> ...
>> ...
>> ...
>> In the end, it has been compiled and installed though
>> _________________________________________________________________________
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120511/2b0e897a/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list