Greetings Having followed the build instructions for matplotlib on the website, I continue to get the error(s):
sh-3.2# python setup.py build = = = = ======================================================================== BUILDING MATPLOTLIB matplotlib: 0.98.1 python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.1.0 freetype2: found, but unknown version (no pkg-config) * WARNING: Could not find 'freetype2' headers in any * of '.', './freetype2'. OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of '.' Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES dvipng: 1.9 ghostscript: 8.61 latex: 3.141592 EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] = = = = ======================================================================== running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.macosx-10.3- fat-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf -> build/ lib.macosx-10.3-fat-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g - bundle -undefined dynamic_lookup -arch ppc -arch i386 -L/Users/Mike/ erange_staging/libpng-1.2.29 -L/Users/Mike/erange_staging/ freetype-2.3.7 -arch ppc -arch i386 -I/Users/Mike/erange_staging/ libpng-1.2.29 -I/Users/Mike/erange_staging/freetype-2.3.7/include build/temp.macosx-10.3-fat-2.5/src/ft2font.o build/temp.macosx-10.3- fat-2.5/src/mplutils.o build/temp.macosx-10.3-fat-2.5/CXX/ cxx_extensions.o build/temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o build/ temp.macosx-10.3-fat-2.5/CXX/IndirectPythonInterface.o build/ temp.macosx-10.3-fat-2.5/CXX/cxxextensions.o -lfreetype -lz -lstdc++ - lm -o build/lib.macosx-10.3-fat-2.5/matplotlib/ft2font.so ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not of required architecture for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccpblNox.out (No such file or directory) error: command 'g++' failed with exit status 1 I am running on a Mac OS X 10.5 system and even though I set the CFLAGS and LDFLAGS I can't seem to point the build to the correct tree. Note: I am a newbie relative to python on a Mac. Can anyone point out an error I've made or offer troubleshooting suggestions? Thanks Mike ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users