Re: [matplotlib-devel] building from SVN on Mac OS X 10.5

2009-08-21 Thread Eric Bruning
Hi Jouni, Your changes helped, but I'm still seeing build errors against recent svn. On Thu, Aug 20, 2009 at 12:33 PM, Jouni K. Seppänen wrote: > Eric Bruning writes: > >> 2. The official recommendation at >> http://matplotlib.sourceforge.net/users/installing.html#build-osx >> doesn't work becau

Re: [matplotlib-devel] building from SVN on Mac OS X 10.5

2009-08-21 Thread Jouni K . Seppänen
Eric Bruning writes: > ld warning: in > /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.10.4.dylib, > missing required architecture ppc in file > ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.1.dylib, > missing required architecture ppc in file for architecture ppc Someho

Re: [matplotlib-devel] building from SVN on Mac OS X 10.5

2009-08-21 Thread Ludwig Schwardt
Hi, Just my $0.10 on this topic: Stick with the default system Python 2.5.1 on Leopard and save yourself a lot of potential hassle. In the days of Tiger and its antiquated and hamstrung Python 2.3, many people were forced to install Python themselves just to get going. They had to choose between

Re: [matplotlib-devel] building from SVN on Mac OS X 10.5

2009-08-21 Thread John Hunter
On Fri, Aug 21, 2009 at 10:41 AM, Jouni K. Seppänen wrote: > Eric Bruning writes: > >> ld warning: in >> /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.10.4.dylib, >> missing required architecture ppc in file >> ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.1.dylib, >> mis

Re: [matplotlib-devel] Building from source on Mac OS X

2009-08-21 Thread Tobias Wood
Hi, I've been having the same problem. I've done some digging and now know why this is happening, but have no idea how to fix it! Someone has updated _macosx.m to use the new CTFont functionality in the 10.5 SDK. Unfortunately, the #ifdef checks they have put in to ensure that the 10.5 SDK

[matplotlib-devel] FIFOBuffer.add() calls Bbox.update(), not a method

2009-08-21 Thread Ryanitus
Hello. I was doing a simple test using a FIFOBuffer. I set the dataLim parameter to the dataLim of a Line2D plot. After adding a value to the FIFO, it raises an exception. It looks like the FIFO is trying to call Bbox.update(), but that method does not exist. Other update_*() methods do. An

Re: [matplotlib-devel] Building from source on Mac OS X

2009-08-21 Thread Tobias Wood
I've just started getting exactly the same errors, but with Python 2.6.2 and the most recent svn checkout. I haven't updated for a month or so but never had this issue before. Toby On 20 Aug 2009, at 16:33, Michael Hearne wrote: > I'm attempting to build matplotlib from source (0.99.0 from >

Re: [matplotlib-devel] FIFOBuffer.add() calls Bbox.update(), not a method

2009-08-21 Thread John Hunter
On Fri, Aug 21, 2009 at 6:24 PM, Ryanitus wrote: > > Hello. > > I was doing a simple test using a FIFOBuffer.  I set the dataLim parameter > to the dataLim of a Line2D plot.  After adding a value to the FIFO, it > raises an exception.  It looks like the FIFO is trying to call > Bbox.update(), but t

Re: [matplotlib-devel] FIFOBuffer.add() calls Bbox.update(), not a method

2009-08-21 Thread Ryanitus
With regards to the update() function, is it supposed to actually add the data point to the graph? After making the change and re-running the program, the plot does not contain the new data point. Thanks, Ryan John Hunter-4 wrote: > > On Fri, Aug 21, 2009 at 6:24 PM, Ryanitus wrote: >> >> H

[matplotlib-devel] cbook.py, maxdict class key checking on __setitem__

2009-08-21 Thread Ryanitus
I may have found a bug in the __setitem__ method of the maxdict class. Since a dictionary is a mapping class, if an item is set that already exists, it overwrites the previous. However, you are still appending that item to _killkeys regardless. In the case where 2 items with the same key were a

Re: [matplotlib-devel] Building from source on Mac OS X

2009-08-21 Thread Jouni K . Seppänen
Tobias Wood writes: > Out of curiosity, why is the 10.4 SDK specified and how? Is this part > of distutils? And why, even with the 10.4 SDK, is the resulting output > bundle called 10.3 fat? I think Python remembers the compiler flags used to compile the Python interpreter and uses them when

Re: [matplotlib-devel] Building from source on Mac OS X

2009-08-21 Thread Jouni K . Seppänen
Tobias Wood writes: > I've just started getting exactly the same errors, but with Python > 2.6.2 and the most recent svn checkout. I haven't updated for a month > or so but never had this issue before. >> src/_macosx.m:1885: error: syntax error before ‘setfont’ >> src/_macosx.m: In function