in case anyone has some suggestions, I'm forwarding this from the sage list


---------- Forwarded message ----------
From: William Stein <wst...@gmail.com>
Date: Sun, Sep 27, 2009 at 10:51 PM
Subject: OS X 10.6 port
To: sage-devel <sage-de...@googlegroups.com>, John Hunter <jdh2...@gmail.com>


Hi,

I spent several hours yesterday trying to get matplotlib for Sage to
work on OS X 10.6.  On my laptop everything works perfectly, but on
another test machine (bsd.math) the workaround from my laptop doesn't
work.  So at this point Sage still does not support OS X 10.6.

The problem is in matplotlib's C++ wrapper for freetype2.  It's a
Python extension module implemented directly in C++, and it simply
doesn't work correctly at all.  For example, whenever it tries to
raise a Python exception, it just terminates Python with

"11713 Abort trap              sage-ipython "$@" -i"

I'm cc'ing John Hunter -- author of matplotlib, in case he has any
advice to share.  In particular, he has an account on
bsd.math.washington.edu and build tests matplotlib there, so I'm
curious if he has any issues with that.  Note that Sage builds
freetype from source, which could be relevant.

I will try updating freetype in Sage (our version is slightly out of
date), and also checking if there is some sort of conflict with a
system-wide freetype.  My worry is that Matplotlib has some weird
custom C++ code for writing extensions that maybe uses signals or
something to raise exceptions, and it is just broken when used with OS
X 10.6.  Hopefully this is not that the case, and something special to
Sage is happening.

William

--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to