-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone,
I've had a heck of a time trying to install matplotlib. I've tried installing both from svn and from the pre-built 0.98.3 egg with no success. Any tips would be appreciated. My setup is: Mac Pro PPC G5, OS X 10.5.4 Python 2.5.1 (Apple build) Numpy 1.2.0.dev5615 -- ran svn update and rebuilt this morning Scipy 0.7.0.dev4603 -- ran svn update and rebuilt this morning 1. Error with the SourceForge 0.98.3 egg for OS X: $ easy_install matplotlib-0.98.3-py2.5-macosx-10.3.egg [snip] REQUIRED DEPENDENCIES ~ * numpy 1.1 or later is required; you have ~ * 1.0.5.dev4673 error: Setup script exited with 1 As far as I know, numpy 1.0.5.dev4673 was never installed on this machine. Running python and checking numpy.__version__ gives the version string listed above (1.2.etc.). I can't find any other versions on the system, and I don't know where the egg would be finding this phantom version. 2. Error building from svn checkout, following the instructions at http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes: g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g - -bundle -undefined dynamic_lookup -arch ppc -arch i386 - -L/usr/local/src/mpl-build/libpng-1.2.29 - -L/usr/local/src/mpl-build/freetype-2.3.7 -arch ppc -arch i386 - -I/usr/local/src/mpl-build/libpng-1.2.29 - -I/usr/local/src/mpl-build/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 -L/usr/local/lib - -lfreetype -lz -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/libPng.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/7h/7hHE3mwXHGCNGWujjUd1L++++U2/-Tmp-//ccS3ZBhp.out (No such file or directory) error: command 'g++' failed with exit status 1 ~From this, it would seem that the build is attempting to use an external libpng, despite the fact that I built it from source without a problem, it's located in /usr/local/src/mpl-build/libpng-1.2.29, and: $ echo $CFLAGS - -arch ppc -arch i386 -I/usr/local/src/mpl-build/libpng-1.2.29 - -I/usr/local/src/mpl-build/freetype-2.3.7/include $ echo $LDFLAGS - -arch ppc -arch i386 -L/usr/local/src/mpl-build/libpng-1.2.29 - -L/usr/local/src/mpl-build/freetype-2.3.7 What am I missing? Any help would be greatly appreciated...I've played with this all day and made little progress. Thanks! - -- Richard Lawrence Research Coordinator Computational Memory Lab [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiaH4EACgkQCWv7yMGrSa/1KACglZDbU2QjOXCY1tQ/Kqbqbfd0 1OwAn1hPnm0/mXwhZmbrAhq1FhMcHamy =JJ49 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users