[matplotlib-devel] Fwd: OS X 10.6 port

2009-09-28 Thread John Hunter
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

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread John Hunter
On Mon, Sep 28, 2009 at 4:47 AM, Dr. David Kirkby david.kir...@onetel.net wrote: William Stein wrote: 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

Re: [matplotlib-devel] Fwd: OS X 10.6 port

2009-09-28 Thread Michael Droettboom
John Hunter wrote: 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

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread Michael Droettboom
I forgot a detail: you have to use a script to edit the commandline arguments to pass to gcc: #!/bin/sh y= for x in $* do case $x in -xcode*) echo skip $x ;; *) y=$y $x ;; esac done gcc $y and then do

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread Michael Droettboom
This is a very long-standing bug in distutils: http://bugs.python.org/issue1222585 While distutils distinguishes between C and C++ for *linking*, it does not do so for *compiling*. This doesn't matter for gcc and msvc (which are arguably the two most popular compilers for Python), but

Re: [matplotlib-devel] Fwd: OS X 10.6 port

2009-09-28 Thread Tony S Yu
On Sep 28, 2009, at 2:14 AM, John Hunter wrote: 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

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread Dr. David Kirkby
Michael Droettboom wrote: This is a very long-standing bug in distutils: http://bugs.python.org/issue1222585 While distutils distinguishes between C and C++ for *linking*, it does not do so for *compiling*. This doesn't matter for gcc and msvc (which are arguably the two most popular

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread William Stein
On Mon, Sep 28, 2009 at 4:54 AM, John Hunter jdh2...@gmail.com wrote: On Mon, Sep 28, 2009 at 4:47 AM, Dr. David Kirkby david.kir...@onetel.net wrote: William Stein wrote: Hi, I spent several hours yesterday trying to get matplotlib for Sage to work on OS X 10.6.  On my laptop everything

Re: [matplotlib-devel] Fwd: OS X 10.6 port

2009-09-28 Thread William Stein
On Mon, Sep 28, 2009 at 8:47 AM, John Hunter jdh2...@gmail.com wrote: -- Forwarded message -- From: Tony S Yu tsy...@gmail.com Date: Mon, Sep 28, 2009 at 8:41 AM Subject: Re: [matplotlib-devel] Fwd: OS X 10.6 port To: John Hunter jdh2...@gmail.com Cc: matplotlib development

Re: [matplotlib-devel] [sage-devel] PyCXX, Matplotlib and OS X 10.6

2009-09-28 Thread William Stein
On Mon, Sep 28, 2009 at 9:14 AM, John Hunter jdh2...@gmail.com wrote: On Mon, Sep 28, 2009 at 10:48 AM, William Stein wst...@gmail.com wrote: If you could just try running your matplotlib build on bsd.math.washington.edu and reporting about whether or not it works, that would be very helpful,

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread John Hunter
On Mon, Sep 28, 2009 at 11:14 AM, John Hunter jdh2...@gmail.com 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); from matplotlib.pyplot