From: william r. <wil...@gm...> - 2007-08-01 17:27:46
|
Let me try this. On 8/1/07, Michael Droettboom <md...@st...> wrote: > > I'm going to summarize, just to make sure I have everything straight. > > 1) HEAD doesn't build (you get lots of "undefined reference to > `_imp__FT_Done_FreeType'") > 2) revision 3645 (yesterday before my setup.py changes), builds, but you > got the float('inf') error (which is now fixed) > 3) much earlier revisions (3608) have other issues (which seem to be > related to out-of-date wxPython code) > > I have just committed a possible fix for 1). You may want to try > updating to HEAD and building that. > > If that doesn't work for you, I'm worried about things getting out of > hand and annoying a lot of people with my (well intentioned) setup.py > changes yesterday. If that's the case, I will revert my build changes > until I have a chance to sit in front of a Windows box and figure out > what's really going wrong. > > Apologies all around, > Mike > > william ratcliff wrote: > > 3608 also runs into problems of linking with the freetype libraries. > > Some much older versions (say in the 3500s) compile, but still crash > > python2.5.1 with errors like: > > > > C:\matplotlib\trunk\matplotlib\examples>c:\python25\python.exe > > embedding_in_wx4. > > py > > embedding_in_wx4.py:24: DeprecationWarning: The wxPython compatibility > > package i > > s no longer automatically generated or actively maintained. Please > > switch to th > > e wx package as soon as possible. > > from wxPython.wx import * > > > > Thanks again for the help! > > > > William > > > > On 8/1/07, *John Hunter* <jd...@gm... <mailto:jd...@gm...> > > > wrote: > > > > On 8/1/07, william ratcliff < wil...@gm... > > <mailto:wil...@gm...>> wrote: > > > from matplotlib.mathtext import math_parse_s_ft2font > > > File > > > "c:\python25\Lib\site-packages\matplotlib\mathtext.py", > > > line 1182, in <mo > > > dule> > > > class Vlist(List): > > > File > > > "c:\python25\Lib\site-packages\matplotlib\mathtext.py", > > > line 1189, in Vli > > > st > > > def vpack(self, h=0., m='additional', l=float('inf')): > > > ValueError: invalid literal for float(): inf > > > > It's not clear to me why you should be hitting mathtext at all, > since > > the wxcursor_demo.py does not use it, as far as I can > tell. Michael, > > would any of your earlier work caused him to get into mathtext > > inapproriately? You may need to revert a little farther, William, > eg > > to r3608 while we get this sorted out. > > > > JDH > > > > > > |