Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-08 Thread John Hunter
On Tue, Jun 8, 2010 at 2:49 PM, Friedrich Romstedt wrote: > Hi Michael, > > may it be that you used different compilers for compiling your > FreeType2 and your matplotlib?  [CC=gcc-4.2]  It's nearly impossible > to tell afterwards from the libraries. > > I was able to compile matplotlib (not the s

Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-08 Thread Friedrich Romstedt
Hi Michael, may it be that you used different compilers for compiling your FreeType2 and your matplotlib? [CC=gcc-4.2] It's nearly impossible to tell afterwards from the libraries. I was able to compile matplotlib (not the svn though) on OS X Snow Leopard /without/ using the make.osx script. O

Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-07 Thread John Hunter
On Mon, Jun 7, 2010 at 4:13 PM, Michael Hearne wrote: > John - I followed your advice, and tried the build/install step again after > downloading a completely fresh svn copy of the source: > > svn co > https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib > matplotlib > cd

Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-07 Thread Michael Hearne
John - I followed your advice, and tried the build/install step again after downloading a completely fresh svn copy of the source: svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib matplotlib cd matplotlib sudo PREFIX=/Library/Frameworks/EPD64.framework/Versions/

Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-07 Thread John Hunter
On Mon, Jun 7, 2010 at 10:26 AM, Michael Hearne wrote: > I've had several problems with building on OS X in the past, and was just > notified that a bug I opened about it has closed.  Eric Firing suggested that > I re-open the bug if it is still a problem.  It is still a problem, but I > can't

[matplotlib-devel] Building matplotlib on OS X

2010-06-07 Thread Michael Hearne
I've had several problems with building on OS X in the past, and was just notified that a bug I opened about it has closed. Eric Firing suggested that I re-open the bug if it is still a problem. It is still a problem, but I can't seem to figure out how to re-open my bug report, so I'll report

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Ariel Rokem
Hi - it was something to do with that. When I now *add*: ./matplotlib-0.98.5.2n2-py2.5-macosx-10.3-fat.egg, which was the version that EPD instaled, to easy-install.pth, I get back version 0.98.5 On Thu, Aug 13, 2009 at 9:25 AM, Gael Varoquaux wrote: > On Thu, Aug 13, 2009 at 09:30:22AM -0600,

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Ariel Rokem
Hi Jeff, > > You are using the macosx backend.  Can you try another backend, say TkAgg, > by running: > > python test.py -dTkAgg ?? > > -Jeff tried that as well - it doesn't plot and produces the following traceback: ASR:Desktop arokem$ python example.py -dTkAgg Exception in Tkinter callback T

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Gael Varoquaux
On Thu, Aug 13, 2009 at 11:54:56AM -0500, Dave Peterson wrote: >That depends. When doing a "python setup.py install" where setup.py's >setup() function is imported from setuptools instead of distutils, then >the setuptools install command deactivates any other eggs in the python >

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Dave Peterson
Gael Varoquaux wrote: On Thu, Aug 13, 2009 at 09:30:22AM -0600, Jeff Whitaker wrote: Ariel Rokem wrote import matplotlib matplotlib.__version__ '0.98.5.2' Ariel: This tells me you really didn't install it, or you installed it in a different version of python than you a

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Gael Varoquaux
On Thu, Aug 13, 2009 at 09:30:22AM -0600, Jeff Whitaker wrote: > Ariel Rokem wrote: > > Resending with CC to list: > > D'oh. I forgot to do that. OK - now I went back and ran: > > env ARCHFLAGS='-arch i386' python setup.py install > > That also went with no hitches > > Then, in Python: >

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Jeff Whitaker
Ariel Rokem wrote: > Hi Jeff, > > >> import matplotlib >> matplotlib.__version__ >> >> >>> '0.98.5.2' >>> >>> >> Ariel: This tells me you really didn't install it, or you installed it in a >> different version of python than you are trying to import it with.

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Ariel Rokem
Hi Jeff, > import matplotlib > matplotlib.__version__ > >> >> '0.98.5.2' >> > > Ariel:  This tells me you really didn't install it, or you installed it in a > different version of python than you are trying to import it with. That does sound reasonable - but how do you explain what fo

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Jeff Whitaker
Ariel Rokem wrote: > Resending with CC to list: > > D'oh. I forgot to do that. OK - now I went back and ran: > > env ARCHFLAGS='-arch i386' python setup.py install > > That also went with no hitches > > Then, in Python: > > import matplotlib matplotlib.__version__ > '0.98

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Ariel Rokem
Resending with CC to list: D'oh. I forgot to do that. OK - now I went back and ran: env ARCHFLAGS='-arch i386' python setup.py install That also went with no hitches Then, in Python: >>> import matplotlib >>> matplotlib.__version__ '0.98.5.2' So - still no version update. I ran: 'easy_instal

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Jeff Whitaker
Ariel Rokem wrote: > Hi - that's interesting - I am actually on OS10.5. For some reason, > the MPL libraries get built under a directory called > "lib.macosx-10.3-fat-2.5" and the SDK set in the Python Makefile is > /Developer/SDKs/MacOSX10.4u.sdk, which is why you see these mentioned > in the outp

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-12 Thread Michiel de Hoon
Michiel. --- On Wed, 8/12/09, Michael Hearne wrote: > From: Michael Hearne > Subject: [matplotlib-devel] Building matplotlib on os x > To: matplotlib-devel@lists.sourceforge.net > Date: Wednesday, August 12, 2009, 3:12 PM > I apologize for cross-posting - I > realized I probably

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-12 Thread Jeff Whitaker
Michael Hearne wrote: > I apologize for cross-posting - I realized I probably shouldn't have > posted this on the user's list first... > > Hello - I am attempting to build matplotlib from source on os X, and > getting an error about a shared library being the wrong architecture. > The confus

[matplotlib-devel] Building matplotlib on os x

2009-08-12 Thread Michael Hearne
I apologize for cross-posting - I realized I probably shouldn't have posted this on the user's list first... Hello - I am attempting to build matplotlib from source on os X, and getting an error about a shared library being the wrong architecture. The confusing thing is that the call to g++