Installing asterisk 1.6.1.1 in snow leopard
Ryan Schmidt
ryandesign at macports.org
Mon Aug 31 10:49:21 PDT 2009
On Aug 31, 2009, at 10:46, Husam Senussi wrote:
> I'm trying to install asterisk wit macport but for some reason the
> build get stuck on compiling chan_sip,c, it's been half an hour
> and the compile
> still trying to build chan_sip.o.
>
>
> Other files with smiler size didn't take that long.
>
> Just want to see if some one seen this before,
I'm on Snow Leopard too, and if I turn off parallel building (sudo
port -d install asterisk build.jobs=1) I see the same thing. Updating
to 1.6.1.5 fixes this.
http://trac.macports.org/ticket/20967
If I leave parallel building on (with 3 jobs) it hangs at
[LD] app_voicemail.o -> app_voicemail.so
But if I scroll up in the output, I see
[CC] src/add.c -> src/add.o
src/add.c:1: error: CPU you selected does not support x86-64
instruction set
src/add.c:1: error: CPU you selected does not support x86-64
instruction set
make[2]: *** [src/add.o] Error 1
make[1]: *** [gsm/lib/libgsm.a] Error 2
make: *** [codecs] Error 2
make: *** Waiting for unfinished jobs....
Of course, my CPU does support the x86-64 instruction set.
Updating the port to 1.6.1.5 (#20967) does not resolve this.
I see two hits on Google for this:
http://www.google.com/search?q=%22CPU+you+selected+does+not+support+x86-64+instruction+set%22+asterisk+%22add.c%22
I filed a ticket for this problem:
http://trac.macports.org/ticket/20973
> I didn't have the problem when I compiled and old version of
> asterisk on SL.
If you can find out what old version that was, we could compare the
old and the new to see what changed to cause the problem.
More information about the macports-users
mailing list