Hi, Is there a way to prevent the matplotlib install from trying to compile for ppc for the c++ compiler? I usually set
export MACOSX_DEPLOYMENT_TARGET=10.6 export CFLAGS="-arch i386 -arch x86_64" export CPPFLAGS="-arch i386 -arch x86_64" export FFLAGS="-arch i386 -arch x86_64" export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64" before installing packages, and make.osx has: MACOSX_DEPLOYMENT_TARGET=10.6 OSX_SDK_VER=10.6 ARCH_FLAGS="-arch i386-arch x86_64" All the gcc commands look like gcc-4.0 -DNDEBUG -g -O3 -arch i386 -arch x86_64 [...] -isysroot /Developer/SDKs/MacOSX10.6.sdk [...] but the c++ commands look like c++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk [...] -arch i386 -arch x86_64 -L/Users/tom/install/tmp/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 [...] which leads to an error when compiling _tkagg.so: ld: in /Users/tom/install/tmp/lib/libz.1.dylib, missing required architecture ppc in file for architecture ppc collect2: ld returned 1 exit status If I try removing "-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" from the compile command, _tkagg.so compiles fine. Any ideas? Thanks! Tom ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users