Hi, So I have successfully built a 64bit version of Numpy, Scipy from svn and am using python version 2.6.5. However in trying to follow the instructions on this blog (http://blog.hyperjeff.net/?p=160), namely...
changing the make.osx file to MACOSX_DEPLOYMENT_TARGET=10.6 PREFIX=/usr/local ## You shouldn't need to configure past this point (and yet…) PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig" CFLAGS="-arch i386 -arch x86_64 -I${PREFIX}/include -I${PREFIX}/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk" LDFLAGS="-arch i386 -arch x86_64 -L${PREFIX}/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk" FFLAGS="-arch i386 -arch x86_64" and uncommenting wxagg = False from the setup.cfg I still seem to run into trouble. Command I am running is sudo make -f make.osx fetch deps mpl_build mpl_install which runs into trouble to do with the libpng lib... x libpng-1.2.39/scripts/makefile.ne12bsd checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/Users/mdekauwe/src/packages/matplotlib_svn/libpng-1.2.39': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** [png] Error 77 I had a look at the config.log file in the libpng directory and the main thing I can see is... configure:3266: checking for C compiler default output file name configure:3288: gcc -arch i386 -arch x86_64 -I/usr/local/include -I/usr/local/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -L/usr/local/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk conftest.c >&5 gcc: unrecognized option '-syslibroot,/Developer/SDKs/MacOSX10.6.sdk' cc1: error: unrecognized command line option "-arch" cc1: error: unrecognized command line option "-arch" cc1: error: unrecognized command line option "-arch" cc1: error: unrecognized command line option "-arch" Not sure what the issue with the arch flag is? Would really appreciate some thoughts on this, many thanks Martin -- View this message in context: http://old.nabble.com/building-on-MAC-snow-leopard-tp28947568p28947568.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users