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

Terry Barnum terry at digital-outpost.com
Tue Jun 19 05:31:03 MSD 2012


On Jun 18, 2012, at 4:23 PM, Daniel O'Connor wrote:

> On 19/06/2012, at 5:20, Terry Barnum wrote:
>> I recently started investigating FS and am curious about what the specific problem is with Macports and FS. I've been using Macports for a couple years and find it to be a great, actively maintained package manager that uses /opt/local, making it a very reliable way to keep production software working through Apple system updates. I've found the Macports team to be very responsive so if there are specific things that I can pass along, it might get fixed. Is there a link or thread that documents what's incompatible with FS?
> 
> There is no incompatibility per se - I use Macports and have installed FreeSwitch, although the only thing that FS actually uses from MP is libjpeg as it bundles everything else.
> 
> That said, I had trouble getting the bundled PortAudio working so I mangled the mod_portaudio Makefile.am to use the MP PortAudio and it worked fine.

That's really encouraging. Based on the threads I was reading it looked like people and the devs were saying that FS isn't happy with macports installed.

I've tried installing it on a PPC mac mini running 10.5.8 and an Intel i5 iMac running 10.6.8, both with macports installed. I've forgotten now at what build phase the mac mini failed on (I'm not in front of the machine). The iMac fails during make:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -DNDEBUG -msse2 -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DHAVE_VISIBILITY=1 -g -O2 -MT gsm0610_rpe.lo -MD -MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c  -fno-common -DPIC -o gsm0610_rpe.o
/var/folders/B7/B7ea9Uvl2RWJ6k+1YxF5D++++TI/-Tmp-//ccF7gvqy.s:58:suffix or operands invalid for `lea'
/var/folders/B7/B7ea9Uvl2RWJ6k+1YxF5D++++TI/-Tmp-//ccF7gvqy.s:63:suffix or operands invalid for `movq'
make[7]: *** [gsm0610_rpe.lo] Error 1
make[6]: *** [all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [/usr/local/src/freeswitch/libs/spandsp/src/libspandsp.la] Error 2
make[3]: *** [mod_spandsp-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

libtool 2.4.2_2 is installed with macports. 
gcc is i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

Any ideas?

Thanks,
-Terry


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