Michiel,
I'm on Mac OS X 10.5. My version of Python is 2.5.2, also from python.org.
Presumably the new matplotlib does compile with 2.6.2 on 10.5?

I'm a bit reluctant to install 2.6.2 now, since we'll be moving to
10.6 ASAP here for the Exchange compatibility, and I guess I'll be
want to reinstall all the python packages in i386/x86_64 architecture
rather than i386/ppc for 10.6.

--George Nurser.



2009/8/20 Michiel de Hoon <mjldeh...@yahoo.com>:
> 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?
>
> --Michiel.
>
> --- On Wed, 8/19/09, George Nurser <gnur...@googlemail.com> wrote:
>
>> From: George Nurser <gnur...@googlemail.com>
>> Subject: [Matplotlib-users] mac os backend not building
>> To: Matplotlib-users@lists.sourceforge.net
>> Date: Wednesday, August 19, 2009, 12:23 PM
>> Hi,
>> I updated matplotlib to svn r 7506, but it won't build. I
>> am having
>> problems with the mac os backend:
>>
>> 10.5.8, gcc 4.0.1:
>> python setup.py build install run from the
>> matplotlib/matplotlib
>> directory gives:
>> .....
>> building 'matplotlib.backends._macosx' extension
>> 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/usr/X11R6/include
>> -I/usr/X11/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
>> src/_macosx.m:1885: error: syntax error before
>> ‘setfont’
>> src/_macosx.m:1885: error: syntax error before
>> ‘setfont’
>> src/_macosx.m: In function ‘setfont’:src/_macosx.m: In
>> function ‘setfont’:
>> src/_macosx.m:1895: error: ‘CTFontRef’ undeclared
>> (first use in this function)
>>
>> Possibly some confusion about whether MAC_OS_X_VERSION_10_5
>> is defined??
>>
>> --George Nurser.
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>
>
>
>

------------------------------------------------------------------------------
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

Reply via email to