From: Tommy G. <gr...@if...> - 2008-05-28 18:10:38
|
On May 28, 2008, at 1:54 PM, Eric Firing wrote: > Tommy, > > That's right. If you upgrade numpy you need to upgrade mpl to > 0.91.2 or later. > > Eric I am trying to build matplotlib from svn, but run into this error: 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 - bundle -undefined dynamic_lookup 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 -L/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/ X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/ matplotlib/ft2font.so -Wl,-framework,CoreServices,- framework,ApplicationServices ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libJPEG.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/+9/+9BDgtoTFv4AaU0pWhEE4+++ +TI/-Tmp-//ccUnfmnm.out (No such file or directory) error: command 'g++' failed with exit status 1 [skathi:~/Downloads/matplotlib-0.91.2] tgrav% I am on a PPC running mac os x 10.5.2. How can I configure g++ to drop the -arch i386 flag, or is there something else wrong here? Cheers Tommy |