Michiel de Hoon <mjldeh...@yahoo.com> writes: > Are you on Mac OS X 10.5 or are you on an earlier version? The error > message you're seeing indicates that MAC_OS_X_VERSION_10_5 is defined, > suggesting that you are on Mac OS X 10.5. But then it should be aware > of CTFontRef ... Did you change anything in your Python setup?
I get the same error on OS X 10.5.8, gcc 4.0.1, Python 2.5.4 downloaded from python.org. The failing command is: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/_macosx.m -o build/temp.macosx-10.3-i386-2.5/src/_macosx.o Note the MacOSX10.4u.sdk in the isysroot and macosx-10.3 in the name of the build directory. I suspect that this build of Python has been compiled with some kind of compatibility settings to be usable on earlier versions of the OS. Simply replacing 10.4 by 10.5 in the isysroot option causes worse errors: src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory src/_macosx.m:2:53: error: ApplicationServices/ApplicationServices.h: No such file or directory Can you suggest something further to try? -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users