The HEAD of pd-MAIN is not building on Mac OS X. On one hand there is the old Jack problem. But there also seems to be a new(ish) issue on Mac/Intel related to libPdTcl.dylib and lipo:
Message: 1 Date: Mon, 16 Apr 2007 03:15:43 -0400 (EDT) From: pd@macosx104-i386.idmi.poly.edu (Pure Data Build User) Subject: [PD-cvs] autobuild: pd-main macosx104-i386 2007-04-16 03.15.02 To: pd-cvs@iem.at Message-ID: 20070416071543.B87231D9A71@macosx104-i386.idmi.poly.edu
/usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp// ccYwquSc.out make[2]: *** [../bin/libPdTcl.dylib] Error 1 make[1]: [pd] Error 2 (ignored) make -C /Users/pd/auto-build/pd-main/pd/src BUILDLAYOUT_DIR=/Users/ pd/auto-build/pd-main/packages cvs_root_dir=/Users/pd/auto-build/pd- main DESTDIR=/Users/pd/auto-build/pd-main/packages/darwin_app/build/ Pd-0.41.0-test04.app/Contents/Resources prefix= libpddir=/Users/pd/ auto-build/pd-main/packages/darwin_app/build/Pd-0.41.0-test04.app/ Contents/Resources OPT_CFLAGS="-march=pentium4 -msse2 -mfpmath=sse - ftree-vectorize -ftree-vectorizer-verbose=2" UNAME=Darwin install cd ../obj && cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno- unused -Wno-parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/ usr/X11R6/include -I../portaudio/pa_common -I../portaudio/pablio - I../portmidi/pm_common -I../portmidi/pm_mac -I../portmidi/porttime -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO -isysroot /Developer/ SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -Wno-error - O2 -DUSEAPI_JACK -dynamiclib -read_only_relocs warning \ -o ../bin/libPdTcl.dylib t_main.o t_tkcmd.o \ -F/Library/Frameworks \ -framework Tcl -framework Tk -framework System \ -Wl,-install_name,@executable_path/../Resources/bin/libPdTcl.dylib ld: Undefined symbols: _Tcl_CreateCommand _Tcl_CreateFileHandler _Tcl_Eval _Tcl_GetVar /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp// ccvIwoaW.out make[2]: *** [../bin/libPdTcl.dylib] Error 1 make[1]: *** [pd_install] Error 2 make: *** [darwin_app_core] Error 2
Message: 2 Date: Mon, 16 Apr 2007 03:20:51 -0400 (EDT) From: pd@macosx104-powerpc.idmi.poly.edu (Pd User) Subject: [PD-cvs] autobuild: pd-main macosx104-powerpc 2007-04-16 03.15.03 To: pd-cvs@iem.at Message-ID: 20070416072051.28DEC861003@macosx104-powerpc.idmi.poly.edu
_sleep referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _socket referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _strcspn referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _task_get_special_port referenced from Jack expected to be defined in /usr/lib/libSystem.B.dylib _thread_terminate referenced from Jack expected to be defined in / usr/lib/libSystem.B.dylib _vsnprintf referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _write referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _AudioConvertNanosToHostTime referenced from Jack expected to be defined in /System/Library/Frameworks/CoreAudio.framework/Versions/ A/CoreAudio _pthread_create referenced from Jack expected to be defined in /usr/ lib/libSystem.B.dylib _thread_info referenced from Jack expected to be defined in /usr/ lib/libSystem.B.dylib _thread_policy_set referenced from Jack expected to be defined in / usr/lib/libSystem.B.dylib collect2: ld returned 1 exit status /usr/bin/ld: for architecture ppc /usr/bin/ld: warning multiple definitions of symbol _jack_error s_audio_jack.o definition of _jack_error in section (__TEXT,__text) /Library/Frameworks/Jack.framework/Jack(single module) definition of _jack_error lipo: can't open input file: /var/tmp//ccjohmxa.out (No such file or directory) make[2]: *** [../bin/pd] Error 1 make[1]: *** [pd_install] Error 2 make: *** [darwin_app_core] Error 2
PD-cvs mailing list PD-cvs@iem.at http://lists.puredata.info/listinfo/pd-cvs
End of PD-cvs Digest, Vol 26, Issue 16
------------------------------------------------------------------------ ----
Mistrust authority - promote decentralization. - the hacker ethic
Hello
On 17 Apr 2007, at 23:44, Hans-Christoph Steiner wrote:
The HEAD of pd-MAIN is not building on Mac OS X. On one hand there is the old Jack problem. But there also seems to be a new(ish) issue on Mac/Intel related to libPdTcl.dylib and lipo:
I cannot replicate this problem. Doing a fresh checkout of HEAD on os x 10.4.9 on Intel and doing normal cycle of autoconf, ./configure, make works here without errors. Running pd gives:
Pd version 0.41-0test04 compiled 09:53:32 Apr 18 2007
David
Message: 1 Date: Mon, 16 Apr 2007 03:15:43 -0400 (EDT) From: pd@macosx104-i386.idmi.poly.edu (Pure Data Build User) Subject: [PD-cvs] autobuild: pd-main macosx104-i386 2007-04-16 03.15.02 To: pd-cvs@iem.at Message-ID: 20070416071543.B87231D9A71@macosx104-i386.idmi.poly.edu
/usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp// ccYwquSc.out make[2]: *** [../bin/libPdTcl.dylib] Error 1 make[1]: [pd] Error 2 (ignored) make -C /Users/pd/auto-build/pd-main/pd/src BUILDLAYOUT_DIR=/Users/ pd/auto-build/pd-main/packages cvs_root_dir=/Users/pd/auto-build/pd- main DESTDIR=/Users/pd/auto-build/pd-main/packages/darwin_app/build/ Pd-0.41.0-test04.app/Contents/Resources prefix= libpddir=/Users/pd/ auto-build/pd-main/packages/darwin_app/build/Pd-0.41.0-test04.app/ Contents/Resources OPT_CFLAGS="-march=pentium4 -msse2 -mfpmath=sse - ftree-vectorize -ftree-vectorizer-verbose=2" UNAME=Darwin install cd ../obj && cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno- unused -Wno-parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/ usr/X11R6/include -I../portaudio/pa_common -I../portaudio/pablio - I../portmidi/pm_common -I../portmidi/pm_mac -I../portmidi/porttime -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO -isysroot /Developer/ SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -Wno-error - O2 -DUSEAPI_JACK -dynamiclib -read_only_relocs warning \ -o ../bin/libPdTcl.dylib t_main.o t_tkcmd.o \ -F/Library/Frameworks \ -framework Tcl -framework Tk -framework System \ -Wl,-install_name,@executable_path/../Resources/bin/libPdTcl.dylib ld: Undefined symbols: _Tcl_CreateCommand _Tcl_CreateFileHandler _Tcl_Eval _Tcl_GetVar /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp// ccvIwoaW.out make[2]: *** [../bin/libPdTcl.dylib] Error 1 make[1]: *** [pd_install] Error 2 make: *** [darwin_app_core] Error 2
Message: 2 Date: Mon, 16 Apr 2007 03:20:51 -0400 (EDT) From: pd@macosx104-powerpc.idmi.poly.edu (Pd User) Subject: [PD-cvs] autobuild: pd-main macosx104-powerpc 2007-04-16 03.15.03 To: pd-cvs@iem.at Message-ID: 20070416072051.28DEC861003@macosx104-powerpc.idmi.poly.edu
_sleep referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _socket referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _strcspn referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _task_get_special_port referenced from Jack expected to be defined in /usr/lib/libSystem.B.dylib _thread_terminate referenced from Jack expected to be defined in / usr/lib/libSystem.B.dylib _vsnprintf referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _write referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _AudioConvertNanosToHostTime referenced from Jack expected to be defined in /System/Library/Frameworks/CoreAudio.framework/Versions/ A/CoreAudio _pthread_create referenced from Jack expected to be defined in /usr/ lib/libSystem.B.dylib _thread_info referenced from Jack expected to be defined in /usr/ lib/libSystem.B.dylib _thread_policy_set referenced from Jack expected to be defined in / usr/lib/libSystem.B.dylib collect2: ld returned 1 exit status /usr/bin/ld: for architecture ppc /usr/bin/ld: warning multiple definitions of symbol _jack_error s_audio_jack.o definition of _jack_error in section (__TEXT,__text) /Library/Frameworks/Jack.framework/Jack(single module) definition of _jack_error lipo: can't open input file: /var/tmp//ccjohmxa.out (No such file or directory) make[2]: *** [../bin/pd] Error 1 make[1]: *** [pd_install] Error 2 make: *** [darwin_app_core] Error 2
PD-cvs mailing list PD-cvs@iem.at http://lists.puredata.info/listinfo/pd-cvs
End of PD-cvs Digest, Vol 26, Issue 16
--
Mistrust authority - promote decentralization. - the hacker ethic
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
On Apr 18, 2007, at 5:08 AM, David Plans Casal wrote:
Hello
On 17 Apr 2007, at 23:44, Hans-Christoph Steiner wrote:
The HEAD of pd-MAIN is not building on Mac OS X. On one hand there is the old Jack problem. But there also seems to be a new(ish) issue on Mac/Intel related to libPdTcl.dylib and lipo:
I cannot replicate this problem. Doing a fresh checkout of HEAD on os x 10.4.9 on Intel and doing normal cycle of autoconf, ./configure, make works here without errors. Running pd gives:
Pd version 0.41-0test04 compiled 09:53:32 Apr 18 2007
David
Hmm, perhaps there is something different in the environment variables. I know that a number of build options on the Mac are set in env vars, like the target OS...
.hc
Message: 1 Date: Mon, 16 Apr 2007 03:15:43 -0400 (EDT) From: pd@macosx104-i386.idmi.poly.edu (Pure Data Build User) Subject: [PD-cvs] autobuild: pd-main macosx104-i386 2007-04-16 03.15.02 To: pd-cvs@iem.at Message-ID: <20070416071543.B87231D9A71@macosx104- i386.idmi.poly.edu>
/usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp// ccYwquSc.out make[2]: *** [../bin/libPdTcl.dylib] Error 1 make[1]: [pd] Error 2 (ignored) make -C /Users/pd/auto-build/pd-main/pd/src BUILDLAYOUT_DIR=/Users/ pd/auto-build/pd-main/packages cvs_root_dir=/Users/pd/auto-build/pd- main DESTDIR=/Users/pd/auto-build/pd-main/packages/darwin_app/build/ Pd-0.41.0-test04.app/Contents/Resources prefix= libpddir=/Users/pd/ auto-build/pd-main/packages/darwin_app/build/Pd-0.41.0-test04.app/ Contents/Resources OPT_CFLAGS="-march=pentium4 -msse2 -mfpmath=sse - ftree-vectorize -ftree-vectorizer-verbose=2" UNAME=Darwin install cd ../obj && cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno- unused -Wno-parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/ usr/X11R6/include -I../portaudio/pa_common -I../portaudio/pablio - I../portmidi/pm_common -I../portmidi/pm_mac -I../portmidi/porttime -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO -isysroot /Developer/ SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -Wno-error - O2 -DUSEAPI_JACK -dynamiclib -read_only_relocs warning \ -o ../bin/libPdTcl.dylib t_main.o t_tkcmd.o \ -F/Library/Frameworks \ -framework Tcl -framework Tk -framework System \ -Wl,-install_name,@executable_path/../Resources/bin/libPdTcl.dylib ld: Undefined symbols: _Tcl_CreateCommand _Tcl_CreateFileHandler _Tcl_Eval _Tcl_GetVar /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp// ccvIwoaW.out make[2]: *** [../bin/libPdTcl.dylib] Error 1 make[1]: *** [pd_install] Error 2 make: *** [darwin_app_core] Error 2
Message: 2 Date: Mon, 16 Apr 2007 03:20:51 -0400 (EDT) From: pd@macosx104-powerpc.idmi.poly.edu (Pd User) Subject: [PD-cvs] autobuild: pd-main macosx104-powerpc 2007-04-16 03.15.03 To: pd-cvs@iem.at Message-ID: 20070416072051.28DEC861003@macosx104-powerpc.idmi.poly.edu
_sleep referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _socket referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _strcspn referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _task_get_special_port referenced from Jack expected to be defined in /usr/lib/libSystem.B.dylib _thread_terminate referenced from Jack expected to be defined in / usr/lib/libSystem.B.dylib _vsnprintf referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _write referenced from Jack expected to be defined in /usr/lib/ libSystem.B.dylib _AudioConvertNanosToHostTime referenced from Jack expected to be defined in /System/Library/Frameworks/CoreAudio.framework/Versions/ A/CoreAudio _pthread_create referenced from Jack expected to be defined in /usr/ lib/libSystem.B.dylib _thread_info referenced from Jack expected to be defined in /usr/ lib/libSystem.B.dylib _thread_policy_set referenced from Jack expected to be defined in / usr/lib/libSystem.B.dylib collect2: ld returned 1 exit status /usr/bin/ld: for architecture ppc /usr/bin/ld: warning multiple definitions of symbol _jack_error s_audio_jack.o definition of _jack_error in section (__TEXT,__text) /Library/Frameworks/Jack.framework/Jack(single module) definition of _jack_error lipo: can't open input file: /var/tmp//ccjohmxa.out (No such file or directory) make[2]: *** [../bin/pd] Error 1 make[1]: *** [pd_install] Error 2 make: *** [darwin_app_core] Error 2
PD-cvs mailing list PD-cvs@iem.at http://lists.puredata.info/listinfo/pd-cvs
End of PD-cvs Digest, Vol 26, Issue 16
--
Mistrust authority - promote decentralization. - the hacker ethic
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
The arc of history bends towards justice. - Dr. Martin Luther King, Jr.
On 19 Apr 2007, at 02:30, Hans-Christoph Steiner wrote:
I cannot replicate this problem. Doing a fresh checkout of HEAD on os x 10.4.9 on Intel and doing normal cycle of autoconf, ./configure, make works here without errors. Running pd gives:
Pd version 0.41-0test04 compiled 09:53:32 Apr 18 2007
Hmm, perhaps there is something different in the environment variables. I know that a number of build options on the Mac are set in env vars, like the target OS...
Where are they set? If you point at them, I'll poke around.
d
On Apr 20, 2007, at 5:34 AM, David Plans Casal wrote:
On 19 Apr 2007, at 02:30, Hans-Christoph Steiner wrote:
I cannot replicate this problem. Doing a fresh checkout of HEAD on os x 10.4.9 on Intel and doing normal cycle of autoconf, ./configure, make works here without errors. Running pd gives:
Pd version 0.41-0test04 compiled 09:53:32 Apr 18 2007
Hmm, perhaps there is something different in the environment variables. I know that a number of build options on the Mac are set in env vars, like the target OS...
Where are they set? If you point at them, I'll poke around.
Anywhere were env vars are set, in your shell, many programs set them, like XCode. Things like CC=gcc-4.1 or MACOSX_DEPLOYMENT_TARGET=10.3, or others. Now that I think about it, the auto-builds use ./configure --enable-jack, and that has caused problems in the past.
.hc
d
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
¡El pueblo unido jamás será vencido!
On 20 Apr 2007, at 20:18, Hans-Christoph Steiner wrote:
Hmm, perhaps there is something different in the environment variables. I know that a number of build options on the Mac are set in env vars, like the target OS...
Where are they set? If you point at them, I'll poke around.
Anywhere were env vars are set, in your shell, many programs set them, like XCode. Things like CC=gcc-4.1 or MACOSX_DEPLOYMENT_TARGET=10.3, or others. Now that I think about it, the auto-builds use ./configure --enable-jack, and that has caused problems in the past.
Ok will look at how configure sets stuff for OSX. AFAICT, bash profiles and rcs don't get set by default on a virgin OSX install.
Thanks,
David