[Freeswitch-dev] Mac OSX mod_portaudio build problem
Hello, I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too. FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp//ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp//ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts). uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9). Thank you in advance, Tamas
If you visit apple.com and click on downloads you can download the proper updates. You'll also want to visit connect.apple.com and get the latest dev tools. /b On Oct 22, 2007, at 2:12 AM, Tamas wrote:
Hello,
I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too.
FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 - DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp// ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp// ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts).
uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc
visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/ assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h
Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9).
Thank you in advance,
Tamas
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Thanks for info. Does this mean that it will resolve my issue? Or just I will have newer version? If it is possible, I would like to have it working with the current version. Regards, Tamas Brian West írta:
If you visit apple.com and click on downloads you can download the proper updates. You'll also want to visit connect.apple.com and get the latest dev tools.
/b
On Oct 22, 2007, at 2:12 AM, Tamas wrote:
Hello,
I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too.
FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 - DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp// ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp// ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts).
uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc
visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/ assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h
Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9).
Thank you in advance,
Tamas
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I can tell you that it compiles on my intel mac without a problem... so it could be ppc specific. /b On Oct 22, 2007, at 5:52 AM, Tamas wrote:
Thanks for info. Does this mean that it will resolve my issue? Or just I will have newer version? If it is possible, I would like to have it working with the current version.
Regards, Tamas
Brian West írta:
If you visit apple.com and click on downloads you can download the proper updates. You'll also want to visit connect.apple.com and get the latest dev tools.
/b
On Oct 22, 2007, at 2:12 AM, Tamas wrote:
Hello,
I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too.
FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./ include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 - DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp// ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= \"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp// ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts).
uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc
visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/ assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h
Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9).
Thank you in advance,
Tamas
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi, Do we have a Solaris 10 build/port of Freeswitch? Jan -----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 22. oktober 2007 12:59 To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Mac OSX mod_portaudio build problem I can tell you that it compiles on my intel mac without a problem... so it could be ppc specific. /b On Oct 22, 2007, at 5:52 AM, Tamas wrote:
Thanks for info. Does this mean that it will resolve my issue? Or just I will have newer version? If it is possible, I would like to have it working with the current version.
Regards, Tamas
Brian West írta:
If you visit apple.com and click on downloads you can download the proper updates. You'll also want to visit connect.apple.com and get the latest dev tools.
/b
On Oct 22, 2007, at 2:12 AM, Tamas wrote:
Hello,
I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too.
FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./ include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 - DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp// ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= \"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp// ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts).
uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc
visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/ assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h
Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9).
Thank you in advance,
Tamas
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I think on X86 it compiles now last I heard. Not sure about on sparc /b On Oct 22, 2007, at 6:53 AM, Jan Berger wrote:
Hi,
Do we have a Solaris 10 build/port of Freeswitch?
Jan
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 22. oktober 2007 12:59 To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Mac OSX mod_portaudio build problem
I can tell you that it compiles on my intel mac without a problem... so it could be ppc specific.
/b
On Oct 22, 2007, at 5:52 AM, Tamas wrote:
Thanks for info. Does this mean that it will resolve my issue? Or just I will have newer version? If it is possible, I would like to have it working with the current version.
Regards, Tamas
Brian West írta:
If you visit apple.com and click on downloads you can download the proper updates. You'll also want to visit connect.apple.com and get the latest dev tools.
/b
On Oct 22, 2007, at 2:12 AM, Tamas wrote:
Hello,
I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too.
FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./ include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 - DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp// ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= \"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp// ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts).
uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc
visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ kern/ assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h
Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9).
Thank you in advance,
Tamas
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I have a build on solaris 10 sun studio on amd 64. Are you having build issues? The only issues I ran into that are not in tree had to do with building it 64bit binary on a 64 bit machine. On 10/22/07, Brian West <brian.west@mac.com> wrote:
I think on X86 it compiles now last I heard. Not sure about on sparc
/b
On Oct 22, 2007, at 6:53 AM, Jan Berger wrote:
Hi,
Do we have a Solaris 10 build/port of Freeswitch?
Jan
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 22. oktober 2007 12:59 To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Mac OSX mod_portaudio build problem
I can tell you that it compiles on my intel mac without a problem... so it could be ppc specific.
/b
On Oct 22, 2007, at 5:52 AM, Tamas wrote:
Thanks for info. Does this mean that it will resolve my issue? Or just I will have newer version? If it is possible, I would like to have it working with the current version.
Regards, Tamas
Brian West írta:
If you visit apple.com and click on downloads you can download the proper updates. You'll also want to visit connect.apple.com and get the latest dev tools.
/b
On Oct 22, 2007, at 2:12 AM, Tamas wrote:
Hello,
I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too.
FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./ include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 - DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp// ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= \"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp// ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts).
uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc
visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ kern/ assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h
Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9).
Thank you in advance,
Tamas
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi Tamas, Brian, folks, Honestly, you really do need to update MacOS X *and Dev Tools* as Brian suggests. Then pull in the ports for auto* as stated on the Wiki. Also, I would make very sure that all the build generated files are zapped before re-trying this. If you look at the gcc -c -g ... entry, you can see that the build process thinks it is dealing with an Intel box (hence the -arch i386). That is not going to work on a G4. I suspect that Bootstrap.sh and make have been thoroughly confused by your machine's uname response. As Brian suggests, this is definitely a PPC-specific problem (and probably tied to your out-of-date version of 10.4). Update it now from the apple site. all the best, Lawrence On 22 Oct 2007, at 11:52, Tamas wrote:
Thanks for info. Does this mean that it will resolve my issue? Or just I will have newer version? If it is possible, I would like to have it working with the current version.
Regards, Tamas
Brian West írta:
If you visit apple.com and click on downloads you can download the proper updates. You'll also want to visit connect.apple.com and get the latest dev tools.
/b
On Oct 22, 2007, at 2:12 AM, Tamas wrote:
Hello,
I have a build issue on Mac OSX 10.4.2 Mac Mini (PPC) - SVN r6015. In the 1st run FreeSWITCH (bootstrap.sh) complained for old automake so I hade to download Macports and install new automake (than set the PATH variable: PATH=/opt/local/bin:/opt/local/sbin:$PATH). After this step, bootstrap.sh did it's work and configure made too.
FS compiled fine in this step - with the default modules.conf settings. I added speex and portaudio, where speex was OK while at mod_portaudio build, libs/portaudio compilation failed with: making all mod_portaudio gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -I./ include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 - DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o cc1: error: invalid option 'macosx-version-min=10.3' cc1: error: invalid option 'macosx-version-min=10.3' lipo: can't figure out the architecture type of: /var/tmp// ccWylNiN.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As a quick hack I removed the -macosx-version-min=10.3 switch from the libs/portaudio/Makefile file (2 places) and started again. make went over this issue but dropped this error: gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= \"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 -DHAVE_LIBKERN_OSATOMIC_H=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/ pa_cpuload.o src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp// ccZF5Xkv.out make[6]: *** [src/common/pa_cpuload.lo] Error 1 make[5]: *** [../../../../libs/portaudio/lib/libportaudio.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_portaudio-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As I'm a newbie in Mac and Mac OSX, I could make something wrong with preparing the system, so this could be mine fault instead of FS's. (I got a Mac Mini for testing with supervisor login, added xcodetools from the bundled CD than I continued adding subversion for Mac from the net and then MacPorts).
uname -a: Darwin visnet-303.lan 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc
visnet-303:~/fs supervisor$ sudo find / | grep assert.h Password: /Library/Frameworks/Python.framework/Versions/2.5/Resources/ English.lproj/Documentation/ref/assert.html /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ IOKit/assert.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/ assert.h /usr/include/assert.h /usr/include/net-snmp/library/snmp_assert.h /usr/include/php/ext/standard/php_assert.h
Unfortunately the "Software upgrade" doesn't work on this mac (it just crashes) so I don't know how to upgrade to newer versions (like 10.4.9).
Thank you in advance,
Tamas
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Actually that -arch i386 along with -arch ppc will work on PPC and generate i386 code but again it shouldn't be trying to compile both.. we do one or the other.. not both as in a universal binary yet. /b On Oct 22, 2007, at 8:44 AM, lconroy wrote:
gcc -c -g -O2 -DPA_BIG_ENDIAN -arch i386 -arch ppc
participants (5)
-
Brian West
-
Jan Berger
-
lconroy
-
Michael Jerris
-
Tamas