Re: [sage-devel] matplotlib is reading old system headers, in preference to Sage ones.

2010-06-09 Thread John Hunter
On Wed, Jun 9, 2010 at 9:15 PM, John Hunter wrote: >   * sys.platform != 'darwin' on the box you are building on.  In this > case you need to modify your patch to include sys.platform.  This is > the most likely culprit as far as I can see. Sorry, upon rereading your

Re: [sage-devel] matplotlib is reading old system headers, in preference to Sage ones.

2010-06-09 Thread John Hunter
On Wed, Jun 9, 2010 at 2:08 PM, Dr. David Kirkby wrote: >> The mpl configure happens in setupext.py that lives next to setup.py. >> It tries to use pkgconfig if it is available to find freetype, so you >> may have luck setting your PKG_CONFIG_PATH if you are using it. > > I was not using PKG_CONF

Re: [sage-devel] matplotlib is reading old system headers, in preference to Sage ones.

2010-06-09 Thread John Hunter
On Wed, Jun 9, 2010 at 9:25 AM, Dr. David Kirkby wrote: > Thank you. I noticed on package (Singular) where CPPFLAGS was not set to > $SAGE_LOCAL/include, and doing so ensured the include files in Sage were > found. I've not tried this with Matplotlib, but it might be a way to work > around the pr

[sage-devel] Re: OS X 10.6 port

2009-09-28 Thread John Hunter
On Mon, Sep 28, 2009 at 11:14 AM, John Hunter wrote: > But even simple tests are failing with:: > > jdh2...@bsd:~> LD_LIBRARY_PATH=~/devtest/lib/ > PYTHONPATH=~/devtest/lib/python2.6/site-packages/ /usr/bin/python -c > 'import matplotlib; matplotlib.use("Agg")