Compile using gcc, not clang.
.hc
Francis Derive wrote:
Bonjour list !
A Pd/Pd-extended starter here - "0.43.4" and "10.8.5" is not mandatory, however increasing with life.
So, no luck launching the 64-bit binary or compiling the 64-bit source.
- Launching Pd-extended.app issued from "Pd-0.43.4-extended-macosx106-x86_64.dmg" gives :
/Users/fdiMac/fdiMac apps/AUDIO apps/Pure Data/Pd-extended 64bit.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin: dlopen(/Users/fdiMac/fdiMac apps/AUDIO apps/Pure Data/Pd-extended 64bit.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin, 10): Symbol not found: _TclFreeObj
Referenced from: /Users/fdiMac/fdiMac apps/AUDIO apps/Pure Data/Pd-extended 64bit.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin
Expected in: dynamic lookup
- Compiling from source "Pd-extended_0.43.4-source.tar.bz2" (Xcode 5.0.2 installed):
From the pd directory I ran - according to INSTALL.txt : first : "./autogen.sh" without error, then : "./configure" :
➜ pd ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... m4/config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i386-apple-darwin12.5.0 checking host system type... i386-apple-darwin12.5.0 configure: iPhone SDK only available for arm-apple-darwin hosts, skipping tests configure: Android SDK only available for arm-linux hosts, skipping tests checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in
/Users/fdiMac/Documents/DEV/BUILDS/PD/pd-extended_0.43.4/pd': configure: error: C compiler cannot create executables See
config.log' for more detailswhich gave a Mac OS X Clang error window which I submitted as well as I could to Apple, but I would like to let the interested somebody here to examine the config.log.
May be this part of the Configure.log should be enough to paste here :
## ----------- ## ## Core tests. ## ## ----------- ##
configure:2520: checking for a BSD-compatible install configure:2588: result: /usr/bin/install -c configure:2599: checking whether build environment is sane configure:2654: result: yes configure:2805: checking for a thread-safe mkdir -p configure:2844: result: m4/config/install-sh -c -d configure:2851: checking for gawk configure:2881: result: no configure:2851: checking for mawk configure:2881: result: no configure:2851: checking for nawk configure:2881: result: no configure:2851: checking for awk configure:2867: found /usr/bin/awk configure:2878: result: awk configure:2889: checking whether make sets $(MAKE) configure:2911: result: yes configure:2940: checking whether make supports nested variables configure:2957: result: yes configure:3088: checking build system type configure:3102: result: i386-apple-darwin12.5.0 configure:3122: checking host system type configure:3135: result: i386-apple-darwin12.5.0 configure:3180: iPhone SDK only available for arm-apple-darwin hosts, skipping tests configure:3277: Android SDK only available for arm-linux hosts, skipping tests configure:3434: checking for style of include used by make configure:3462: result: GNU configure:3533: checking for gcc configure:3549: found /usr/bin/gcc configure:3560: result: gcc configure:3789: checking for C compiler version configure:3798: gcc --version >&5 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 configure:3809: $? = 0 configure:3798: gcc -v >&5 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix configure:3809: $? = 0 configure:3798: gcc -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:3809: $? = 1 configure:3798: gcc -qversion >&5 clang: error: no input files configure:3809: $? = 1 configure:3829: checking whether the C compiler works configure:3851: gcc -O3 -funroll-loops -L/sw/lib conftest.c >&5 0 clang 0x00000001017b9c3f main + 24869327 1 clang 0x00000001017b9f64 main + 24870132 2 libsystem_c.dylib 0x00007fff94f2a90a _sigtramp + 26 3 libsystem_c.dylib 0x00007fff67798c00 _sigtramp + 3532055312 4 libsystem_c.dylib 0x0000000101c4377e _sigtramp + 1825672846 5 libsystem_c.dylib 0x0000000101c470a7 _sigtramp + 1825687479 Stack dump: 0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name conftest.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 224.1 -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0 -O3 -fdebug-compilation-dir /Users/fdiMac/Documents/DEV/BUILDS/PD/pd-extended_0.43.4/pd -ferror-limit 19 -fmessage-length 0 -funroll-loops -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fencode-extended-block-signature -fdiagnostics-show-option -o /var/folders/15/y_tcb4rj5h5376l0g33rtm9w0000gn/T/conftest-R9LmgD.o -x c conftest.c clang: error: unable to execute command: Segmentation fault: 11 clang: error: clang frontend command failed due to signal (use -v to see invocation) Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. clang: error: unable to execute command: Segmentation fault: 11 clang: note: diagnostic msg: Error generating preprocessed source(s). configure:3855: $? = 254 configure:3893: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pd" | #define PACKAGE_TARNAME "pd" | #define PACKAGE_VERSION "0.43.1" | #define PACKAGE_STRING "pd 0.43.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "pd" | #define VERSION "0.43.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3898: error: in
/Users/fdiMac/Documents/DEV/BUILDS/PD/pd-extended_0.43.4/pd': configure:3900: error: C compiler cannot create executables See
config.log' for more detailsThanks a lot for helping in both directions.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list