I am trying to install matplot on an OS X (10.5.7) Intel MacBook. I cannot build the matplot lib extensions. I get the following error:
.... g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/ft2font.o build/temp.macosx-10.3-i386-2.5/src/mplutils.o build/temp.macosx-10.3-i386-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-i386-2.5/CXX/cxxsupport.o build/temp.macosx-10.3-i386-2.5/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-i386-2.5/CXX/cxxextensions.o -L/sw/lib -L/sw/lib/freetype219/lib -L/usr/local/lib -L/usr/lib -L/sw/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-i386-2.5/matplotlib/ft2font.so -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices ld warning: in /sw/lib/libfreetype.dylib, file is not of required architecture ld: in /sw/lib/libiconv.2.dylib, file is not of required architecture for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/xW/xW61KykkHgSaGc2vPwOTCk+++TI/-Tmp-//ccGEBvWb.out (No such file or directory) error: command 'g++' failed with exit status 1 This is matplotlib-0.91.4. I get the same error whether I install via the egg or download the zipped tar ball and run "python setup.py build". The libraries in "/sw/lib" were installed by the fink package manager. In particular I don't understand the error message about libiconv.2.dylib being "not of required architecture for architecture ppc". It seems like matplot lib thinks it's building on a PPC instead of an Intel machine. I'm running Active State Python 2.5.4. Any suggestions for how to get matplotlib working on my machine? Thanks. -- W.P. McNeill http://staff.washington.edu/billmcn/index.shtml ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users