You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
(36) |
2
(10) |
3
(8) |
4
|
5
(4) |
6
(15) |
7
(17) |
8
(3) |
9
(8) |
10
(5) |
11
(2) |
12
(5) |
13
(5) |
14
(15) |
15
(3) |
16
(10) |
17
(6) |
18
(2) |
19
(1) |
20
(11) |
21
(33) |
22
(13) |
23
(14) |
24
(15) |
25
(4) |
26
(5) |
27
(9) |
28
(12) |
29
(7) |
30
(8) |
31
(6) |
|
On 8/1/07, william ratcliff <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
william ratcliff wrote: > If I revert back to 3645, it builds and I can install it--but then I > run into > the original error I was having where I couldn't run the demos: > > 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 Did you report that error earlier? Sorry I missed it. It turns out that "float('inf')" is not portable to Windows. See here: http://www.python.org/dev/peps/pep-0754/ I just committed a possible fix using numpy.inf instead. Please update lib/matplotlib/mathtext.py and let me know if this works (again, sorry I don't have Windows to test on here.) In the meantime, I'll try to track down why the build is broken on trunk for you. Cheers, Mike
If I revert back to 3645, it builds and I can install it--but then I run into the original error I was having where I couldn't run the demos: C:\matplotlib\trunk\matplotlib\examples>c:\python25\python.exe wxcursor_demo.py Traceback (most recent call last): File "wxcursor_demo.py", line 6, in <module> from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCan vas File "c:\python25\Lib\site-packages\matplotlib\backends\backend_wxagg.py", lin e 24, in <module> from backend_agg import FigureCanvasAgg File "c:\python25\Lib\site-packages\matplotlib\backends\backend_agg.py", line 86, in <module> 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 Thanks, William On 8/1/07, Michael Droettboom <md...@st...> wrote: > > william ratcliff wrote: > > > > Thanks! I think that: > > "found, but unknown version" would be a bit better. > I'll fix that. > > So, it means that it found libpng and freetype. It says that it > > didn't vind wx-python--but is that only relevant for versions of > > wxpython below 2.8 > Yes, the message should be fixed. It won't attempt to build the wxAgg > extension (which isn't needed) in your case anyway. > > I am running C:\Python25\Lib\site-packages\wx-2.8-msw-unicode, and > > there is no wx-config directory associated with it. > That probably just means you don't have the development headers > installed, which is not necessary in this case. > > > > Also, is there a reason why the compilation is being done with the > > cygwin flag? > It looks like it's using the -mno-cygwin flag, which is how mingw32 is > normally selected. > > BTW, any luck when you reverted to an earlier SVN version? (3645) > > Cheers, > Mike > > > > Thanks, > > William > > > > On 8/1/07, *Michael Droettboom* <md...@st... > > <mailto:md...@st...>> wrote: > > > > william ratcliff wrote: > > > A bit strange: > > > > > > gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes > -Iwin32_static\include > > > -I. -Ic:\python25\include -Ic:\python25\PC -c src/ft2font.cpp -o > > > build\temp.win32- 2.5\Release\src\ft2font.o > > > g++ -mno-cygwin -shared build\temp.win32- > 2.5\Release\src\ft2font.o > > > build\temp.win32-2.5\Release\src\mplutils.o > > > build\temp.win32-2.5\Release\cxx\cxxsupport.o > > > build\temp.win32- 2.5\Release\cxx\cxx_extensions.o > > > build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o > > > build\temp.win32-2.5\Release\cxx\cxxextensions.o-Lwin32_static\lib > > > -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25 > > > -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd > > > Found executable c:\python24\enthought\mingw\bin\g++.exe > > > > > build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp: > (.text+0x317): > > > undefined reference to `_imp__FT_Done_FreeType' > > These _imp__ things have something to do with how mingw32 links with > > libraries. I'm afraid I'm getting a little out of my element > > there. If > > you want to rule out any unintentional consequences of my very > recent > > setup.py changes (which were primarily to give more information, > > rather > > than change how things work), you can revert SVN a bit "svn -r > > 3645" and > > see if things are any different. Please let me know how that goes > > either way. > > > But, I noticed in the beginning: > > > > > > > > > ============================================================================ > > > BUILDING MATPLOTLIB > > > matplotlib: 0.90.1 (r3634) > > > python: 2.5.1 (r251:54863, Apr 18 2007, > > 08:51:08) [MSC > > > v.1310 32 bit (Intel)] > > > platform: win32 > > > Windows version: (5, 1, 2600, 2, 'Service Pack 2') > > > > > > REQUIRED DEPENDENCIES > > > Setting mingw32 as default compiler for nt. > > > numpy: 1.0.4.dev3937 > > > freetype2: unknown (no pkg-config) > > > > > > OPTIONAL DEPENDENCIES > > > Gtk+: no > > > * Building for Gtk+ requires pygtk; you > must > > > be able > > > * to "import gtk" in your build/install > > > environment > > > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > > > wxPython: no > > > * WXAgg's accelerator requires > > `wx-config'. The > > > * `wx-config' executable could not be > > located > > > in any > > > * directory of the PATH environment > > variable. > > > If you > > > * want to build WXAgg, and wx-config is > > in some > > > * other location or has some other name, > > set the > > > * WX_CONFIG environment variable to the > full > > > path of > > > * the executable like so: export > > > WX_CONFIG=/usr/lib > > > * /wxPython- > > 2.6.1.0-gtk2-unicode/bin/wx-config > > > Qt: no > > > Qt4: no > > > Cairo: no > > > libpng: unknown (no pkg-config) > > > > > > [Edit setup.cfg to suppress the above messages] > > > > > > ============================================================================ > > > > > > Does this mean that it's unable to find the win32_static > > directory? I > > > have in in the matplotlibdirectory. > > No. The line: > > > > freetype2: unknown (no pkg-config) > > > > indicates that the freetype2 headers were found, but it couldn't > > determine the version through pkg-config. If it wasn't able to > > find it, > > it would hav said "freetype2: no". On second glance, I admit that > > message might be confusing. Do you think "found, but unknown > version" > > would be better? > > > I think I'm confused on something: In the win32 directory, > there > > > are instructions for building under cygwin--but is it necessary to > > > build, or does matplotlib just require the library files and their > > > headers, which it should be able to find in the win32_static > > directory? > > I'll defer on that question to someone with more matplotlib + > Windows > > experience. > > > > Cheers, > > Mike > > > > > > > > Cheers, > > > William > > > > > > On 8/1/07, *Michael Droettboom* < md...@st... > > <mailto:md...@st...> > > > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > > > > > It looks like I screwed up the order of libraries between > > > freetype2 and > > > zlib. (It was updated to use pkg-config to determine the > > freetype > > > dependencies where possible, but that inadvertently broke > > Windows.) > > > > > > Please 'svn up' and try again. Sorry for the inconvience. > > > > > > Cheers, > > > Mike > > > > > > william ratcliff wrote: > > > > Is it possible that the freetype library in win32_static > > is out > > > of date? > > > > > > > > Cheers, > > > > William > > > > > > > > On 8/1/07, *william ratcliff* < wil...@gm... > > <mailto:wil...@gm...> > > > <mailto:wil...@gm... > > <mailto:wil...@gm...> > > > > > <mailto:wil...@gm... > > <mailto:wil...@gm...> > > > <mailto:wil...@gm... > > <mailto:wil...@gm...>>>> wrote: > > > > > > > > Ok--that did fix the expandtabs bug! I can now see > where > > > there is > > > > a failure in the build: > > > > > > > > Found executable C:\Python24\Enthought\MingW\bin\g++.exe > > > > > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x160): > > > > undefined refer > > > > ence to `inflateInit2_' > > > > win32_static\lib/libfreetype.a( > > ftgzip.o):ftgzip.c:(.text+0x1d7): > > > > undefined refer > > > > ence to `inflateEnd' > > > > win32_static\lib/libfreetype.a( > > > ftgzip.o):ftgzip.c:(.text+0x522): > > > > undefined refer > > > > ence to `inflateReset' > > > > > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x5e8): > > > > undefined refer > > > > ence to `inflate' > > > > collect2: ld returned 1 exit status > > > > error: Command "g++ -mno-cygwin -shared > build\temp.win32- > > > > 2.5\Release\src\ft2font > > > > .o build\temp.win32-2.5\Release\src\mplutils.o > > > > build\temp.win32- 2.5\Release\cxx\ > > > > cxxsupport.o > > build\temp.win32-2.5\Release\cxx\cxx_extensions.o > > > > build\temp.win32- > > > > 2.5\Release\cxx\indirectpythoninterface.o > > > > build\temp.win32- 2.5\Release\cxx\cxxex > > > > tensions.o -Lwin32_static\lib -Lc:\python25\libs > > > > -Lc:\python25\PCBuild -lz -lfre > > > > etype -lpython25 -lmsvcr71 -o > > > > build\lib.win32- 2.5\matplotlib\ft2font.pyd " failed > > > > with exit status 1 > > > > > > > > > > > > suggestions? > > > > > > > > Thanks, > > > > William > > > > > > > > > > > > On 8/1/07, *Michael Droettboom* < md...@st... > > <mailto:md...@st...> > > > <mailto:md...@st... <mailto:md...@st...> > > > > > <mailto:md...@st... <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>>> wrote: > > > > > > > > That's my bad from my changes to setup.py yesterday. > > > > > > > > Please update from SVN and try again. > > > > > > > > Cheers, > > > > Mike > > > > > > > > william ratcliff wrote: > > > > > I tried the new setup.py script and found: > > > > > > > > > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe > > > > setup.py build > > > > > > > > > > > ============================================================================ > > > > > > > > > BUILDING MATPLOTLIB > > > > > matplotlib: 0.90.1 (r3634) > > > > > python: 2.5.1 (r251:54863, Apr > > 18 2007, > > > > 08:51:08) [MSC > > > > > v.1310 32 bit (Intel)] > > > > > platform: win32 > > > > > Traceback (most recent call last): > > > > > File "setup.py", line 122, in <module> > > > > > print_status('Windows version', > > > sys.getwindowsversion ()) > > > > > File > > "C:\matplotlib\trunk\matplotlib\setupext.py", line > > > > 119, in > > > > > print_status > > > > > subsequent_indent=indent) > > > > > File "c:\python25\lib\textwrap.py", line 315, > > in fill > > > > > return w.fill(text) > > > > > File "c:\python25\lib\textwrap.py", line 287, > > in fill > > > > > return "\n".join( self.wrap(text)) > > > > > File "c:\python25\lib\textwrap.py", line 274, > > in wrap > > > > > text = self._munge_whitespace(text) > > > > > File "c:\python25\lib\textwrap.py", line 122, in > > > > _munge_whitespace > > > > > text = text.expandtabs () > > > > > AttributeError: 'tuple' object has no attribute > > > 'expandtabs' > > > > > > > > > > Any ideas? Thanks!!! > > > > > > > > > > William > > > > > > > > > > > > > > > On 8/1/07, * Michael Droettboom* < > > md...@st... <mailto:md...@st...> > > > <mailto:md...@st... <mailto:md...@st...>> > > > > <mailto: md...@st... <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>> > > > > > <mailto: md...@st... > > <mailto:md...@st...> <mailto: md...@st... > > <mailto:md...@st...>> > > > <mailto:md...@st... <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>>>> wrote: > > > > > > > > > > william ratcliff wrote: > > > > > > I have a question about building from > > source on > > > windows: > > > > > > I have installed freetype2 and libpng, for > > zlib, > > > I have > > > > a collection > > > > > > of dlls, > > > > > > But, where do I place these so that > matplotlib > > > can find > > > > them > > > > > (for the > > > > > > include files, libraries, etc. Are there > any > > > that I > > > > have to > > > > > > rename?)? I am using mingw for > > compilation and > > > python > > > > 2.5--I have > > > > > > built numpy successfully from source and > have > > > installed > > > > > wxpython. I > > > > > > have the latest version of matplotlib from > > the > > > trunk of > > > > the svn > > > > > > repository. > > > > > As of yesterday, the setup.py script should > > give a > > > little > > > > more > > > > > feedback > > > > > about where it is looking for external > > > dependencies. I > > > > took great > > > > > care > > > > > to not change any of the Windows behavior, > > since I > > > didn't > > > > have a > > > > > Windows > > > > > box handy to test with. If you are still > > stuck after > > > > following the > > > > > existing directions, the output of setup.py > > may offer > > > > some clues. > > > > > > > > > > Cheers, > > > > > Mike > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
william ratcliff wrote: > > Thanks! I think that: > "found, but unknown version" would be a bit better. I'll fix that. > So, it means that it found libpng and freetype. It says that it > didn't vind wx-python--but is that only relevant for versions of > wxpython below 2.8 Yes, the message should be fixed. It won't attempt to build the wxAgg extension (which isn't needed) in your case anyway. > I am running C:\Python25\Lib\site-packages\wx-2.8-msw-unicode, and > there is no wx-config directory associated with it. That probably just means you don't have the development headers installed, which is not necessary in this case. > > Also, is there a reason why the compilation is being done with the > cygwin flag? It looks like it's using the -mno-cygwin flag, which is how mingw32 is normally selected. BTW, any luck when you reverted to an earlier SVN version? (3645) Cheers, Mike > > Thanks, > William > > On 8/1/07, *Michael Droettboom* <md...@st... > <mailto:md...@st...>> wrote: > > william ratcliff wrote: > > A bit strange: > > > > gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include > > -I. -Ic:\python25\include -Ic:\python25\PC -c src/ft2font.cpp -o > > build\temp.win32- 2.5\Release\src\ft2font.o > > g++ -mno-cygwin -shared build\temp.win32- 2.5\Release\src\ft2font.o > > build\temp.win32-2.5\Release\src\mplutils.o > > build\temp.win32-2.5\Release\cxx\cxxsupport.o > > build\temp.win32- 2.5\Release\cxx\cxx_extensions.o > > build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o > > build\temp.win32-2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib > > -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25 > > -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd > > Found executable c:\python24\enthought\mingw\bin\g++.exe > > > build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x317): > > undefined reference to `_imp__FT_Done_FreeType' > These _imp__ things have something to do with how mingw32 links with > libraries. I'm afraid I'm getting a little out of my element > there. If > you want to rule out any unintentional consequences of my very recent > setup.py changes (which were primarily to give more information, > rather > than change how things work), you can revert SVN a bit "svn -r > 3645" and > see if things are any different. Please let me know how that goes > either way. > > But, I noticed in the beginning: > > > > > ============================================================================ > > BUILDING MATPLOTLIB > > matplotlib: 0.90.1 (r3634) > > python: 2.5.1 (r251:54863, Apr 18 2007, > 08:51:08) [MSC > > v.1310 32 bit (Intel)] > > platform: win32 > > Windows version: (5, 1, 2600, 2, 'Service Pack 2') > > > > REQUIRED DEPENDENCIES > > Setting mingw32 as default compiler for nt. > > numpy: 1.0.4.dev3937 > > freetype2: unknown (no pkg-config) > > > > OPTIONAL DEPENDENCIES > > Gtk+: no > > * Building for Gtk+ requires pygtk; you must > > be able > > * to "import gtk" in your build/install > > environment > > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > > wxPython: no > > * WXAgg's accelerator requires > `wx-config'. The > > * `wx-config' executable could not be > located > > in any > > * directory of the PATH environment > variable. > > If you > > * want to build WXAgg, and wx-config is > in some > > * other location or has some other name, > set the > > * WX_CONFIG environment variable to the full > > path of > > * the executable like so: export > > WX_CONFIG=/usr/lib > > * /wxPython- > 2.6.1.0-gtk2-unicode/bin/wx-config > > Qt: no > > Qt4: no > > Cairo: no > > libpng: unknown (no pkg-config) > > > > [Edit setup.cfg to suppress the above messages] > > > ============================================================================ > > > > Does this mean that it's unable to find the win32_static > directory? I > > have in in the matplotlibdirectory. > No. The line: > > freetype2: unknown (no pkg-config) > > indicates that the freetype2 headers were found, but it couldn't > determine the version through pkg-config. If it wasn't able to > find it, > it would hav said "freetype2: no". On second glance, I admit that > message might be confusing. Do you think "found, but unknown version" > would be better? > > I think I'm confused on something: In the win32 directory, there > > are instructions for building under cygwin--but is it necessary to > > build, or does matplotlib just require the library files and their > > headers, which it should be able to find in the win32_static > directory? > I'll defer on that question to someone with more matplotlib + Windows > experience. > > Cheers, > Mike > > > > > Cheers, > > William > > > > On 8/1/07, *Michael Droettboom* < md...@st... > <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > > > It looks like I screwed up the order of libraries between > > freetype2 and > > zlib. (It was updated to use pkg-config to determine the > freetype > > dependencies where possible, but that inadvertently broke > Windows.) > > > > Please 'svn up' and try again. Sorry for the inconvience. > > > > Cheers, > > Mike > > > > william ratcliff wrote: > > > Is it possible that the freetype library in win32_static > is out > > of date? > > > > > > Cheers, > > > William > > > > > > On 8/1/07, *william ratcliff* < wil...@gm... > <mailto:wil...@gm...> > > <mailto:wil...@gm... > <mailto:wil...@gm...> > > > > <mailto:wil...@gm... > <mailto:wil...@gm...> > > <mailto:wil...@gm... > <mailto:wil...@gm...>>>> wrote: > > > > > > Ok--that did fix the expandtabs bug! I can now see where > > there is > > > a failure in the build: > > > > > > Found executable C:\Python24\Enthought\MingW\bin\g++.exe > > > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x160): > > > undefined refer > > > ence to `inflateInit2_' > > > win32_static\lib/libfreetype.a( > ftgzip.o):ftgzip.c:(.text+0x1d7): > > > undefined refer > > > ence to `inflateEnd' > > > win32_static\lib/libfreetype.a( > > ftgzip.o):ftgzip.c:(.text+0x522): > > > undefined refer > > > ence to `inflateReset' > > > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x5e8): > > > undefined refer > > > ence to `inflate' > > > collect2: ld returned 1 exit status > > > error: Command "g++ -mno-cygwin -shared build\temp.win32- > > > 2.5\Release\src\ft2font > > > .o build\temp.win32-2.5\Release\src\mplutils.o > > > build\temp.win32- 2.5\Release\cxx\ > > > cxxsupport.o > build\temp.win32-2.5\Release\cxx\cxx_extensions.o > > > build\temp.win32- > > > 2.5\Release\cxx\indirectpythoninterface.o > > > build\temp.win32- 2.5\Release\cxx\cxxex > > > tensions.o -Lwin32_static\lib -Lc:\python25\libs > > > -Lc:\python25\PCBuild -lz -lfre > > > etype -lpython25 -lmsvcr71 -o > > > build\lib.win32- 2.5\matplotlib\ft2font.pyd " failed > > > with exit status 1 > > > > > > > > > suggestions? > > > > > > Thanks, > > > William > > > > > > > > > On 8/1/07, *Michael Droettboom* < md...@st... > <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...> > > > > <mailto:md...@st... <mailto:md...@st...> > <mailto:md...@st... <mailto:md...@st...>>>> wrote: > > > > > > That's my bad from my changes to setup.py yesterday. > > > > > > Please update from SVN and try again. > > > > > > Cheers, > > > Mike > > > > > > william ratcliff wrote: > > > > I tried the new setup.py script and found: > > > > > > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe > > > setup.py build > > > > > > > ============================================================================ > > > > > > > BUILDING MATPLOTLIB > > > > matplotlib: 0.90.1 (r3634) > > > > python: 2.5.1 (r251:54863, Apr > 18 2007, > > > 08:51:08) [MSC > > > > v.1310 32 bit (Intel)] > > > > platform: win32 > > > > Traceback (most recent call last): > > > > File "setup.py", line 122, in <module> > > > > print_status('Windows version', > > sys.getwindowsversion ()) > > > > File > "C:\matplotlib\trunk\matplotlib\setupext.py", line > > > 119, in > > > > print_status > > > > subsequent_indent=indent) > > > > File "c:\python25\lib\textwrap.py", line 315, > in fill > > > > return w.fill(text) > > > > File "c:\python25\lib\textwrap.py", line 287, > in fill > > > > return "\n".join( self.wrap(text)) > > > > File "c:\python25\lib\textwrap.py", line 274, > in wrap > > > > text = self._munge_whitespace(text) > > > > File "c:\python25\lib\textwrap.py", line 122, in > > > _munge_whitespace > > > > text = text.expandtabs () > > > > AttributeError: 'tuple' object has no attribute > > 'expandtabs' > > > > > > > > Any ideas? Thanks!!! > > > > > > > > William > > > > > > > > > > > > On 8/1/07, * Michael Droettboom* < > md...@st... <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>> > > > <mailto: md...@st... <mailto:md...@st...> > <mailto:md...@st... <mailto:md...@st...>>> > > > > <mailto: md...@st... > <mailto:md...@st...> <mailto: md...@st... > <mailto:md...@st...>> > > <mailto:md...@st... <mailto:md...@st...> > <mailto:md...@st... <mailto:md...@st...>>>>> wrote: > > > > > > > > william ratcliff wrote: > > > > > I have a question about building from > source on > > windows: > > > > > I have installed freetype2 and libpng, for > zlib, > > I have > > > a collection > > > > > of dlls, > > > > > But, where do I place these so that matplotlib > > can find > > > them > > > > (for the > > > > > include files, libraries, etc. Are there any > > that I > > > have to > > > > > rename?)? I am using mingw for > compilation and > > python > > > 2.5--I have > > > > > built numpy successfully from source and have > > installed > > > > wxpython. I > > > > > have the latest version of matplotlib from > the > > trunk of > > > the svn > > > > > repository. > > > > As of yesterday, the setup.py script should > give a > > little > > > more > > > > feedback > > > > about where it is looking for external > > dependencies. I > > > took great > > > > care > > > > to not change any of the Windows behavior, > since I > > didn't > > > have a > > > > Windows > > > > box handy to test with. If you are still > stuck after > > > following the > > > > existing directions, the output of setup.py > may offer > > > some clues. > > > > > > > > Cheers, > > > > Mike > > > > > > > > > > > > > > > > > > > > > > >
Thanks! I think that: "found, but unknown version" would be a bit better. So, it means that it found libpng and freetype. It says that it didn't vind wx-python--but is that only relevant for versions of wxpython below 2.8 I am running C:\Python25\Lib\site-packages\wx-2.8-msw-unicode, and there is no wx-config directory associated with it. Also, is there a reason why the compilation is being done with the cygwin flag? Thanks, William On 8/1/07, Michael Droettboom <md...@st...> wrote: > > william ratcliff wrote: > > A bit strange: > > > > gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include > > -I. -Ic:\python25\include -Ic:\python25\PC -c src/ft2font.cpp -o > > build\temp.win32-2.5\Release\src\ft2font.o > > g++ -mno-cygwin -shared build\temp.win32- 2.5\Release\src\ft2font.o > > build\temp.win32-2.5\Release\src\mplutils.o > > build\temp.win32-2.5\Release\cxx\cxxsupport.o > > build\temp.win32-2.5\Release\cxx\cxx_extensions.o > > build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o > > build\temp.win32-2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib > > -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25 > > -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd > > Found executable c:\python24\enthought\mingw\bin\g++.exe > > build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x317): > > undefined reference to `_imp__FT_Done_FreeType' > These _imp__ things have something to do with how mingw32 links with > libraries. I'm afraid I'm getting a little out of my element there. If > you want to rule out any unintentional consequences of my very recent > setup.py changes (which were primarily to give more information, rather > than change how things work), you can revert SVN a bit "svn -r 3645" and > see if things are any different. Please let me know how that goes > either way. > > But, I noticed in the beginning: > > > > > ============================================================================ > > BUILDING MATPLOTLIB > > matplotlib: 0.90.1 (r3634) > > python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC > > v.1310 32 bit (Intel)] > > platform: win32 > > Windows version: (5, 1, 2600, 2, 'Service Pack 2') > > > > REQUIRED DEPENDENCIES > > Setting mingw32 as default compiler for nt. > > numpy: 1.0.4.dev3937 > > freetype2: unknown (no pkg-config) > > > > OPTIONAL DEPENDENCIES > > Gtk+: no > > * Building for Gtk+ requires pygtk; you must > > be able > > * to "import gtk" in your build/install > > environment > > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > > wxPython: no > > * WXAgg's accelerator requires > `wx-config'. The > > * `wx-config' executable could not be located > > in any > > * directory of the PATH environment variable. > > If you > > * want to build WXAgg, and wx-config is in some > > * other location or has some other name, set the > > * WX_CONFIG environment variable to the full > > path of > > * the executable like so: export > > WX_CONFIG=/usr/lib > > * /wxPython-2.6.1.0-gtk2-unicode/bin/wx-config > > Qt: no > > Qt4: no > > Cairo: no > > libpng: unknown (no pkg-config) > > > > [Edit setup.cfg to suppress the above messages] > > > ============================================================================ > > > > Does this mean that it's unable to find the win32_static directory? I > > have in in the matplotlibdirectory. > No. The line: > > freetype2: unknown (no pkg-config) > > indicates that the freetype2 headers were found, but it couldn't > determine the version through pkg-config. If it wasn't able to find it, > it would hav said "freetype2: no". On second glance, I admit that > message might be confusing. Do you think "found, but unknown version" > would be better? > > I think I'm confused on something: In the win32 directory, there > > are instructions for building under cygwin--but is it necessary to > > build, or does matplotlib just require the library files and their > > headers, which it should be able to find in the win32_static directory? > I'll defer on that question to someone with more matplotlib + Windows > experience. > > Cheers, > Mike > > > > > Cheers, > > William > > > > On 8/1/07, *Michael Droettboom* <md...@st... > > <mailto:md...@st...>> wrote: > > > > It looks like I screwed up the order of libraries between > > freetype2 and > > zlib. (It was updated to use pkg-config to determine the freetype > > dependencies where possible, but that inadvertently broke Windows.) > > > > Please 'svn up' and try again. Sorry for the inconvience. > > > > Cheers, > > Mike > > > > william ratcliff wrote: > > > Is it possible that the freetype library in win32_static is out > > of date? > > > > > > Cheers, > > > William > > > > > > On 8/1/07, *william ratcliff* < wil...@gm... > > <mailto:wil...@gm...> > > > <mailto:wil...@gm... > > <mailto:wil...@gm...>>> wrote: > > > > > > Ok--that did fix the expandtabs bug! I can now see where > > there is > > > a failure in the build: > > > > > > Found executable C:\Python24\Enthought\MingW\bin\g++.exe > > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c: > (.text+0x160): > > > undefined refer > > > ence to `inflateInit2_' > > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c: > (.text+0x1d7): > > > undefined refer > > > ence to `inflateEnd' > > > win32_static\lib/libfreetype.a( > > ftgzip.o):ftgzip.c:(.text+0x522): > > > undefined refer > > > ence to `inflateReset' > > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c: > (.text+0x5e8): > > > undefined refer > > > ence to `inflate' > > > collect2: ld returned 1 exit status > > > error: Command "g++ -mno-cygwin -shared build\temp.win32- > > > 2.5\Release\src\ft2font > > > .o build\temp.win32-2.5\Release\src\mplutils.o > > > build\temp.win32-2.5\Release\cxx\ > > > cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.o > > > build\temp.win32- > > > 2.5\Release\cxx\indirectpythoninterface.o > > > build\temp.win32- 2.5\Release\cxx\cxxex > > > tensions.o -Lwin32_static\lib -Lc:\python25\libs > > > -Lc:\python25\PCBuild -lz -lfre > > > etype -lpython25 -lmsvcr71 -o > > > build\lib.win32-2.5\matplotlib\ft2font.pyd " failed > > > with exit status 1 > > > > > > > > > suggestions? > > > > > > Thanks, > > > William > > > > > > > > > On 8/1/07, *Michael Droettboom* < md...@st... > > <mailto:md...@st...> > > > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > > > > > That's my bad from my changes to setup.py yesterday. > > > > > > Please update from SVN and try again. > > > > > > Cheers, > > > Mike > > > > > > william ratcliff wrote: > > > > I tried the new setup.py script and found: > > > > > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe > > > setup.py build > > > > > > > ============================================================================ > > > > > > > BUILDING MATPLOTLIB > > > > matplotlib: 0.90.1 (r3634) > > > > python: 2.5.1 (r251:54863, Apr 18 2007, > > > 08:51:08) [MSC > > > > v.1310 32 bit (Intel)] > > > > platform: win32 > > > > Traceback (most recent call last): > > > > File "setup.py", line 122, in <module> > > > > print_status('Windows version', > > sys.getwindowsversion ()) > > > > File "C:\matplotlib\trunk\matplotlib\setupext.py", > line > > > 119, in > > > > print_status > > > > subsequent_indent=indent) > > > > File "c:\python25\lib\textwrap.py", line 315, in fill > > > > return w.fill(text) > > > > File "c:\python25\lib\textwrap.py", line 287, in fill > > > > return "\n".join( self.wrap(text)) > > > > File "c:\python25\lib\textwrap.py", line 274, in wrap > > > > text = self._munge_whitespace(text) > > > > File "c:\python25\lib\textwrap.py", line 122, in > > > _munge_whitespace > > > > text = text.expandtabs () > > > > AttributeError: 'tuple' object has no attribute > > 'expandtabs' > > > > > > > > Any ideas? Thanks!!! > > > > > > > > William > > > > > > > > > > > > On 8/1/07, * Michael Droettboom* < md...@st... > > <mailto:md...@st...> > > > <mailto:md...@st... <mailto:md...@st...>> > > > > <mailto: md...@st... <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>>> wrote: > > > > > > > > william ratcliff wrote: > > > > > I have a question about building from source on > > windows: > > > > > I have installed freetype2 and libpng, for zlib, > > I have > > > a collection > > > > > of dlls, > > > > > But, where do I place these so that matplotlib > > can find > > > them > > > > (for the > > > > > include files, libraries, etc. Are there any > > that I > > > have to > > > > > rename?)? I am using mingw for compilation and > > python > > > 2.5--I have > > > > > built numpy successfully from source and have > > installed > > > > wxpython. I > > > > > have the latest version of matplotlib from the > > trunk of > > > the svn > > > > > repository. > > > > As of yesterday, the setup.py script should give a > > little > > > more > > > > feedback > > > > about where it is looking for external > > dependencies. I > > > took great > > > > care > > > > to not change any of the Windows behavior, since I > > didn't > > > have a > > > > Windows > > > > box handy to test with. If you are still stuck > after > > > following the > > > > existing directions, the output of setup.py may > offer > > > some clues. > > > > > > > > Cheers, > > > > Mike > > > > > > > > > > > > > > > > > > > > > > >
william ratcliff wrote: > A bit strange: > > gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include > -I. -Ic:\python25\include -Ic:\python25\PC -c src/ft2font.cpp -o > build\temp.win32-2.5\Release\src\ft2font.o > g++ -mno-cygwin -shared build\temp.win32- 2.5\Release\src\ft2font.o > build\temp.win32-2.5\Release\src\mplutils.o > build\temp.win32-2.5\Release\cxx\cxxsupport.o > build\temp.win32-2.5\Release\cxx\cxx_extensions.o > build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o > build\temp.win32-2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib > -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25 > -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd > Found executable c:\python24\enthought\mingw\bin\g++.exe > build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x317): > undefined reference to `_imp__FT_Done_FreeType' These _imp__ things have something to do with how mingw32 links with libraries. I'm afraid I'm getting a little out of my element there. If you want to rule out any unintentional consequences of my very recent setup.py changes (which were primarily to give more information, rather than change how things work), you can revert SVN a bit "svn -r 3645" and see if things are any different. Please let me know how that goes either way. > But, I noticed in the beginning: > > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 0.90.1 (r3634) > python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC > v.1310 32 bit (Intel)] > platform: win32 > Windows version: (5, 1, 2600, 2, 'Service Pack 2') > > REQUIRED DEPENDENCIES > Setting mingw32 as default compiler for nt. > numpy: 1.0.4.dev3937 > freetype2: unknown (no pkg-config) > > OPTIONAL DEPENDENCIES > Gtk+: no > * Building for Gtk+ requires pygtk; you must > be able > * to "import gtk" in your build/install > environment > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > wxPython: no > * WXAgg's accelerator requires `wx-config'. The > * `wx-config' executable could not be located > in any > * directory of the PATH environment variable. > If you > * want to build WXAgg, and wx-config is in some > * other location or has some other name, set the > * WX_CONFIG environment variable to the full > path of > * the executable like so: export > WX_CONFIG=/usr/lib > * /wxPython-2.6.1.0-gtk2-unicode/bin/wx-config > Qt: no > Qt4: no > Cairo: no > libpng: unknown (no pkg-config) > > [Edit setup.cfg to suppress the above messages] > ============================================================================ > > Does this mean that it's unable to find the win32_static directory? I > have in in the matplotlibdirectory. No. The line: freetype2: unknown (no pkg-config) indicates that the freetype2 headers were found, but it couldn't determine the version through pkg-config. If it wasn't able to find it, it would hav said "freetype2: no". On second glance, I admit that message might be confusing. Do you think "found, but unknown version" would be better? > I think I'm confused on something: In the win32 directory, there > are instructions for building under cygwin--but is it necessary to > build, or does matplotlib just require the library files and their > headers, which it should be able to find in the win32_static directory? I'll defer on that question to someone with more matplotlib + Windows experience. Cheers, Mike > > Cheers, > William > > On 8/1/07, *Michael Droettboom* <md...@st... > <mailto:md...@st...>> wrote: > > It looks like I screwed up the order of libraries between > freetype2 and > zlib. (It was updated to use pkg-config to determine the freetype > dependencies where possible, but that inadvertently broke Windows.) > > Please 'svn up' and try again. Sorry for the inconvience. > > Cheers, > Mike > > william ratcliff wrote: > > Is it possible that the freetype library in win32_static is out > of date? > > > > Cheers, > > William > > > > On 8/1/07, *william ratcliff* < wil...@gm... > <mailto:wil...@gm...> > > <mailto:wil...@gm... > <mailto:wil...@gm...>>> wrote: > > > > Ok--that did fix the expandtabs bug! I can now see where > there is > > a failure in the build: > > > > Found executable C:\Python24\Enthought\MingW\bin\g++.exe > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x160): > > undefined refer > > ence to `inflateInit2_' > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x1d7): > > undefined refer > > ence to `inflateEnd' > > win32_static\lib/libfreetype.a( > ftgzip.o):ftgzip.c:(.text+0x522): > > undefined refer > > ence to `inflateReset' > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x5e8): > > undefined refer > > ence to `inflate' > > collect2: ld returned 1 exit status > > error: Command "g++ -mno-cygwin -shared build\temp.win32- > > 2.5\Release\src\ft2font > > .o build\temp.win32-2.5\Release\src\mplutils.o > > build\temp.win32-2.5\Release\cxx\ > > cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.o > > build\temp.win32- > > 2.5\Release\cxx\indirectpythoninterface.o > > build\temp.win32- 2.5\Release\cxx\cxxex > > tensions.o -Lwin32_static\lib -Lc:\python25\libs > > -Lc:\python25\PCBuild -lz -lfre > > etype -lpython25 -lmsvcr71 -o > > build\lib.win32-2.5\matplotlib\ft2font.pyd " failed > > with exit status 1 > > > > > > suggestions? > > > > Thanks, > > William > > > > > > On 8/1/07, *Michael Droettboom* < md...@st... > <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > > > That's my bad from my changes to setup.py yesterday. > > > > Please update from SVN and try again. > > > > Cheers, > > Mike > > > > william ratcliff wrote: > > > I tried the new setup.py script and found: > > > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe > > setup.py build > > > > ============================================================================ > > > > > BUILDING MATPLOTLIB > > > matplotlib: 0.90.1 (r3634) > > > python: 2.5.1 (r251:54863, Apr 18 2007, > > 08:51:08) [MSC > > > v.1310 32 bit (Intel)] > > > platform: win32 > > > Traceback (most recent call last): > > > File "setup.py", line 122, in <module> > > > print_status('Windows version', > sys.getwindowsversion ()) > > > File "C:\matplotlib\trunk\matplotlib\setupext.py", line > > 119, in > > > print_status > > > subsequent_indent=indent) > > > File "c:\python25\lib\textwrap.py", line 315, in fill > > > return w.fill(text) > > > File "c:\python25\lib\textwrap.py", line 287, in fill > > > return "\n".join( self.wrap(text)) > > > File "c:\python25\lib\textwrap.py", line 274, in wrap > > > text = self._munge_whitespace(text) > > > File "c:\python25\lib\textwrap.py", line 122, in > > _munge_whitespace > > > text = text.expandtabs () > > > AttributeError: 'tuple' object has no attribute > 'expandtabs' > > > > > > Any ideas? Thanks!!! > > > > > > William > > > > > > > > > On 8/1/07, * Michael Droettboom* < md...@st... > <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>> > > > <mailto: md...@st... <mailto:md...@st...> > <mailto:md...@st... <mailto:md...@st...>>>> wrote: > > > > > > william ratcliff wrote: > > > > I have a question about building from source on > windows: > > > > I have installed freetype2 and libpng, for zlib, > I have > > a collection > > > > of dlls, > > > > But, where do I place these so that matplotlib > can find > > them > > > (for the > > > > include files, libraries, etc. Are there any > that I > > have to > > > > rename?)? I am using mingw for compilation and > python > > 2.5--I have > > > > built numpy successfully from source and have > installed > > > wxpython. I > > > > have the latest version of matplotlib from the > trunk of > > the svn > > > > repository. > > > As of yesterday, the setup.py script should give a > little > > more > > > feedback > > > about where it is looking for external > dependencies. I > > took great > > > care > > > to not change any of the Windows behavior, since I > didn't > > have a > > > Windows > > > box handy to test with. If you are still stuck after > > following the > > > existing directions, the output of setup.py may offer > > some clues. > > > > > > Cheers, > > > Mike > > > > > > > > > > > > > >
A bit strange: gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include -I. -Ic:\python25\include -Ic:\python25\PC -c src/ft2font.cpp -o build\temp.win32-2.5\Release\src\ft2font.o g++ -mno-cygwin -shared build\temp.win32-2.5\Release\src\ft2font.obuild\temp.win32- 2.5\Release\src\mplutils.o build\temp.win32-2.5\Release\cxx\cxxsupport.obuild\temp.win32- 2.5\Release\cxx\cxx_extensions.o build\temp.win32- 2.5\Release\cxx\indirectpythoninterface.o build\temp.win32- 2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25 -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd Found executable c:\python24\enthought\mingw\bin\g++.exe build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x317): undefined reference to `_imp__FT_Done_FreeType' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x3e7): undefined reference to `_imp__FT_Done_FreeType' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x4b7): undefined reference to `_imp__FT_Done_FreeType' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x14da): undefined reference to `_imp__FT_Get_PS_Font_Info' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x2520): undefined reference to `_imp__FT_Get_Name_Index' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x29e8): undefined reference to `_imp__FT_Get_Glyph_Name' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x4150): undefined reference to `_imp__FT_Get_Kerning' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x45a7): undefined ... .... build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x18ba3): undefined reference to `_imp__FT_Set_Char_Size' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x18d2e): undefined reference to `_imp__FT_Get_Postscript_Name' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x1a86a): undefined reference to `_imp__FT_New_Face' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x1aef3): undefined reference to `_imp__FT_Set_Char_Size' build\temp.win32-2.5\Release\src\ft2font.o:ft2font.cpp:(.text+0x1b07e): undefined reference to `_imp__FT_Get_Postscript_Name' collect2: ld returned 1 exit status error: Command "g++ -mno-cygwin -shared build\temp.win32- 2.5\Release\src\ft2font.o build\temp.win32-2.5\Release\src\mplutils.obuild\temp.win32- 2.5\Release\cxx\cxxsupport.o build\temp.win32- 2.5\Release\cxx\cxx_extensions.o build\temp.win32- 2.5\Release\cxx\indirectpythoninterface.o build\temp.win32- 2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25 -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd" failed with exit status 1 But, I noticed in the beginning: ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.90.1 (r3634) python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] platform: win32 Windows version: (5, 1, 2600, 2, 'Service Pack 2') REQUIRED DEPENDENCIES Setting mingw32 as default compiler for nt. numpy: 1.0.4.dev3937 freetype2: unknown (no pkg-config) OPTIONAL DEPENDENCIES Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * WXAgg's accelerator requires `wx-config'. The * `wx-config' executable could not be located in any * directory of the PATH environment variable. If you * want to build WXAgg, and wx-config is in some * other location or has some other name, set the * WX_CONFIG environment variable to the full path of * the executable like so: export WX_CONFIG=/usr/lib * /wxPython-2.6.1.0-gtk2-unicode/bin/wx-config Qt: no Qt4: no Cairo: no libpng: unknown (no pkg-config) [Edit setup.cfg to suppress the above messages] ============================================================================ Does this mean that it's unable to find the win32_static directory? I have in in the matplotlibdirectory. I think I'm confused on something: In the win32 directory, there are instructions for building under cygwin--but is it necessary to build, or does matplotlib just require the library files and their headers, which it should be able to find in the win32_static directory? Cheers, William On 8/1/07, Michael Droettboom <md...@st...> wrote: > > It looks like I screwed up the order of libraries between freetype2 and > zlib. (It was updated to use pkg-config to determine the freetype > dependencies where possible, but that inadvertently broke Windows.) > > Please 'svn up' and try again. Sorry for the inconvience. > > Cheers, > Mike > > william ratcliff wrote: > > Is it possible that the freetype library in win32_static is out of date? > > > > Cheers, > > William > > > > On 8/1/07, *william ratcliff* < wil...@gm... > > <mailto:wil...@gm...>> wrote: > > > > Ok--that did fix the expandtabs bug! I can now see where there is > > a failure in the build: > > > > Found executable C:\Python24\Enthought\MingW\bin\g++.exe > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x160): > > undefined refer > > ence to `inflateInit2_' > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x1d7): > > undefined refer > > ence to `inflateEnd' > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x522): > > undefined refer > > ence to `inflateReset' > > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x5e8): > > undefined refer > > ence to `inflate' > > collect2: ld returned 1 exit status > > error: Command "g++ -mno-cygwin -shared build\temp.win32- > > 2.5\Release\src\ft2font > > .o build\temp.win32-2.5\Release\src\mplutils.o > > build\temp.win32-2.5\Release\cxx\ > > cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.o > > build\temp.win32- > > 2.5\Release\cxx\indirectpythoninterface.o > > build\temp.win32-2.5\Release\cxx\cxxex > > tensions.o -Lwin32_static\lib -Lc:\python25\libs > > -Lc:\python25\PCBuild -lz -lfre > > etype -lpython25 -lmsvcr71 -o > > build\lib.win32-2.5\matplotlib\ft2font.pyd" failed > > with exit status 1 > > > > > > suggestions? > > > > Thanks, > > William > > > > > > On 8/1/07, *Michael Droettboom* <md...@st... > > <mailto:md...@st...>> wrote: > > > > That's my bad from my changes to setup.py yesterday. > > > > Please update from SVN and try again. > > > > Cheers, > > Mike > > > > william ratcliff wrote: > > > I tried the new setup.py script and found: > > > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe > > setup.py build > > > > ============================================================================ > > > > > BUILDING MATPLOTLIB > > > matplotlib: 0.90.1 (r3634) > > > python: 2.5.1 (r251:54863, Apr 18 2007, > > 08:51:08) [MSC > > > v.1310 32 bit (Intel)] > > > platform: win32 > > > Traceback (most recent call last): > > > File "setup.py", line 122, in <module> > > > print_status('Windows version', sys.getwindowsversion()) > > > File "C:\matplotlib\trunk\matplotlib\setupext.py", line > > 119, in > > > print_status > > > subsequent_indent=indent) > > > File "c:\python25\lib\textwrap.py", line 315, in fill > > > return w.fill(text) > > > File "c:\python25\lib\textwrap.py", line 287, in fill > > > return "\n".join( self.wrap(text)) > > > File "c:\python25\lib\textwrap.py", line 274, in wrap > > > text = self._munge_whitespace(text) > > > File "c:\python25\lib\textwrap.py", line 122, in > > _munge_whitespace > > > text = text.expandtabs() > > > AttributeError: 'tuple' object has no attribute 'expandtabs' > > > > > > Any ideas? Thanks!!! > > > > > > William > > > > > > > > > On 8/1/07, * Michael Droettboom* < md...@st... > > <mailto:md...@st...> > > > <mailto: md...@st... <mailto:md...@st...>>> wrote: > > > > > > william ratcliff wrote: > > > > I have a question about building from source on windows: > > > > I have installed freetype2 and libpng, for zlib, I have > > a collection > > > > of dlls, > > > > But, where do I place these so that matplotlib can find > > them > > > (for the > > > > include files, libraries, etc. Are there any that I > > have to > > > > rename?)? I am using mingw for compilation and python > > 2.5--I have > > > > built numpy successfully from source and have installed > > > wxpython. I > > > > have the latest version of matplotlib from the trunk of > > the svn > > > > repository. > > > As of yesterday, the setup.py script should give a little > > more > > > feedback > > > about where it is looking for external dependencies. I > > took great > > > care > > > to not change any of the Windows behavior, since I didn't > > have a > > > Windows > > > box handy to test with. If you are still stuck after > > following the > > > existing directions, the output of setup.py may offer > > some clues. > > > > > > Cheers, > > > Mike > > > > > > > > > > > > > >
It looks like I screwed up the order of libraries between freetype2 and zlib. (It was updated to use pkg-config to determine the freetype dependencies where possible, but that inadvertently broke Windows.) Please 'svn up' and try again. Sorry for the inconvience. Cheers, Mike william ratcliff wrote: > Is it possible that the freetype library in win32_static is out of date? > > Cheers, > William > > On 8/1/07, *william ratcliff* < wil...@gm... > <mailto:wil...@gm...>> wrote: > > Ok--that did fix the expandtabs bug! I can now see where there is > a failure in the build: > > Found executable C:\Python24\Enthought\MingW\bin\g++.exe > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x160): > undefined refer > ence to `inflateInit2_' > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x1d7): > undefined refer > ence to `inflateEnd' > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x522): > undefined refer > ence to `inflateReset' > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x5e8): > undefined refer > ence to `inflate' > collect2: ld returned 1 exit status > error: Command "g++ -mno-cygwin -shared build\temp.win32- > 2.5\Release\src\ft2font > .o build\temp.win32-2.5\Release\src\mplutils.o > build\temp.win32-2.5\Release\cxx\ > cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.o > build\temp.win32- > 2.5\Release\cxx\indirectpythoninterface.o > build\temp.win32-2.5\Release\cxx\cxxex > tensions.o -Lwin32_static\lib -Lc:\python25\libs > -Lc:\python25\PCBuild -lz -lfre > etype -lpython25 -lmsvcr71 -o > build\lib.win32-2.5\matplotlib\ft2font.pyd" failed > with exit status 1 > > > suggestions? > > Thanks, > William > > > On 8/1/07, *Michael Droettboom* <md...@st... > <mailto:md...@st...>> wrote: > > That's my bad from my changes to setup.py yesterday. > > Please update from SVN and try again. > > Cheers, > Mike > > william ratcliff wrote: > > I tried the new setup.py script and found: > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe > setup.py build > > ============================================================================ > > > BUILDING MATPLOTLIB > > matplotlib: 0.90.1 (r3634) > > python: 2.5.1 (r251:54863, Apr 18 2007, > 08:51:08) [MSC > > v.1310 32 bit (Intel)] > > platform: win32 > > Traceback (most recent call last): > > File "setup.py", line 122, in <module> > > print_status('Windows version', sys.getwindowsversion()) > > File "C:\matplotlib\trunk\matplotlib\setupext.py", line > 119, in > > print_status > > subsequent_indent=indent) > > File "c:\python25\lib\textwrap.py", line 315, in fill > > return w.fill(text) > > File "c:\python25\lib\textwrap.py", line 287, in fill > > return "\n".join( self.wrap(text)) > > File "c:\python25\lib\textwrap.py", line 274, in wrap > > text = self._munge_whitespace(text) > > File "c:\python25\lib\textwrap.py", line 122, in > _munge_whitespace > > text = text.expandtabs() > > AttributeError: 'tuple' object has no attribute 'expandtabs' > > > > Any ideas? Thanks!!! > > > > William > > > > > > On 8/1/07, * Michael Droettboom* < md...@st... > <mailto:md...@st...> > > <mailto: md...@st... <mailto:md...@st...>>> wrote: > > > > william ratcliff wrote: > > > I have a question about building from source on windows: > > > I have installed freetype2 and libpng, for zlib, I have > a collection > > > of dlls, > > > But, where do I place these so that matplotlib can find > them > > (for the > > > include files, libraries, etc. Are there any that I > have to > > > rename?)? I am using mingw for compilation and python > 2.5--I have > > > built numpy successfully from source and have installed > > wxpython. I > > > have the latest version of matplotlib from the trunk of > the svn > > > repository. > > As of yesterday, the setup.py script should give a little > more > > feedback > > about where it is looking for external dependencies. I > took great > > care > > to not change any of the Windows behavior, since I didn't > have a > > Windows > > box handy to test with. If you are still stuck after > following the > > existing directions, the output of setup.py may offer > some clues. > > > > Cheers, > > Mike > > > > > > >
Is it possible that the freetype library in win32_static is out of date? Cheers, William On 8/1/07, william ratcliff <wil...@gm...> wrote: > > Ok--that did fix the expandtabs bug! I can now see where there is a > failure in the build: > > Found executable C:\Python24\Enthought\MingW\bin\g++.exe > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x160): undefined > refer > ence to `inflateInit2_' > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x1d7): undefined > refer > ence to `inflateEnd' > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x522): undefined > refer > ence to `inflateReset' > win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x5e8): undefined > refer > ence to `inflate' > collect2: ld returned 1 exit status > error: Command "g++ -mno-cygwin -shared build\temp.win32- > 2.5\Release\src\ft2font > .o build\temp.win32-2.5\Release\src\mplutils.o build\temp.win32- > 2.5\Release\cxx\ > cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.obuild\temp.win32- > 2.5\Release\cxx\indirectpythoninterface.o build\temp.win32- > 2.5\Release\cxx\cxxex > tensions.o -Lwin32_static\lib -Lc:\python25\libs -Lc:\python25\PCBuild -lz > -lfre > etype -lpython25 -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd" > failed > with exit status 1 > > > suggestions? > > Thanks, > William > > On 8/1/07, Michael Droettboom <md...@st...> wrote: > > > > That's my bad from my changes to setup.py yesterday. > > > > Please update from SVN and try again. > > > > Cheers, > > Mike > > > > william ratcliff wrote: > > > I tried the new setup.py script and found: > > > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe setup.py build > > > > > ============================================================================ > > > > > BUILDING MATPLOTLIB > > > matplotlib: 0.90.1 (r3634) > > > python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC > > > v.1310 32 bit (Intel)] > > > platform: win32 > > > Traceback (most recent call last): > > > File "setup.py", line 122, in <module> > > > print_status('Windows version', sys.getwindowsversion()) > > > File "C:\matplotlib\trunk\matplotlib\setupext.py", line 119, in > > > print_status > > > subsequent_indent=indent) > > > File "c:\python25\lib\textwrap.py", line 315, in fill > > > return w.fill(text) > > > File "c:\python25\lib\textwrap.py", line 287, in fill > > > return "\n".join( self.wrap(text)) > > > File "c:\python25\lib\textwrap.py", line 274, in wrap > > > text = self._munge_whitespace(text) > > > File "c:\python25\lib\textwrap.py", line 122, in _munge_whitespace > > > text = text.expandtabs() > > > AttributeError: 'tuple' object has no attribute 'expandtabs' > > > > > > Any ideas? Thanks!!! > > > > > > William > > > > > > > > > On 8/1/07, * Michael Droettboom* < md...@st... > > > <mailto:md...@st...>> wrote: > > > > > > william ratcliff wrote: > > > > I have a question about building from source on windows: > > > > I have installed freetype2 and libpng, for zlib, I have a > > collection > > > > of dlls, > > > > But, where do I place these so that matplotlib can find them > > > (for the > > > > include files, libraries, etc. Are there any that I have to > > > > rename?)? I am using mingw for compilation and python 2.5--Ihave > > > > built numpy successfully from source and have installed > > > wxpython. I > > > > have the latest version of matplotlib from the trunk of the svn > > > > repository. > > > As of yesterday, the setup.py script should give a little more > > > feedback > > > about where it is looking for external dependencies. I took great > > > care > > > to not change any of the Windows behavior, since I didn't have a > > > Windows > > > box handy to test with. If you are still stuck after following > > the > > > existing directions, the output of setup.py may offer some clues. > > > > > > Cheers, > > > Mike > > > > > > > > > > >
Ok--that did fix the expandtabs bug! I can now see where there is a failure in the build: Found executable C:\Python24\Enthought\MingW\bin\g++.exe win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x160): undefined refer ence to `inflateInit2_' win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x1d7): undefined refer ence to `inflateEnd' win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x522): undefined refer ence to `inflateReset' win32_static\lib/libfreetype.a(ftgzip.o):ftgzip.c:(.text+0x5e8): undefined refer ence to `inflate' collect2: ld returned 1 exit status error: Command "g++ -mno-cygwin -shared build\temp.win32- 2.5\Release\src\ft2font .o build\temp.win32-2.5\Release\src\mplutils.o build\temp.win32- 2.5\Release\cxx\ cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.obuild\temp.win32- 2.5\Release\cxx\indirectpythoninterface.o build\temp.win32- 2.5\Release\cxx\cxxex tensions.o -Lwin32_static\lib -Lc:\python25\libs -Lc:\python25\PCBuild -lz -lfre etype -lpython25 -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd" failed with exit status 1 suggestions? Thanks, William On 8/1/07, Michael Droettboom <md...@st...> wrote: > > That's my bad from my changes to setup.py yesterday. > > Please update from SVN and try again. > > Cheers, > Mike > > william ratcliff wrote: > > I tried the new setup.py script and found: > > > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe setup.py build > > > ============================================================================ > > BUILDING MATPLOTLIB > > matplotlib: 0.90.1 (r3634) > > python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC > > v.1310 32 bit (Intel)] > > platform: win32 > > Traceback (most recent call last): > > File "setup.py", line 122, in <module> > > print_status('Windows version', sys.getwindowsversion()) > > File "C:\matplotlib\trunk\matplotlib\setupext.py", line 119, in > > print_status > > subsequent_indent=indent) > > File "c:\python25\lib\textwrap.py", line 315, in fill > > return w.fill(text) > > File "c:\python25\lib\textwrap.py", line 287, in fill > > return "\n".join( self.wrap(text)) > > File "c:\python25\lib\textwrap.py", line 274, in wrap > > text = self._munge_whitespace(text) > > File "c:\python25\lib\textwrap.py", line 122, in _munge_whitespace > > text = text.expandtabs() > > AttributeError: 'tuple' object has no attribute 'expandtabs' > > > > Any ideas? Thanks!!! > > > > William > > > > > > On 8/1/07, * Michael Droettboom* <md...@st... > > <mailto:md...@st...>> wrote: > > > > william ratcliff wrote: > > > I have a question about building from source on windows: > > > I have installed freetype2 and libpng, for zlib, I have a > collection > > > of dlls, > > > But, where do I place these so that matplotlib can find them > > (for the > > > include files, libraries, etc. Are there any that I have to > > > rename?)? I am using mingw for compilation and python 2.5--I have > > > built numpy successfully from source and have installed > > wxpython. I > > > have the latest version of matplotlib from the trunk of the svn > > > repository. > > As of yesterday, the setup.py script should give a little more > > feedback > > about where it is looking for external dependencies. I took great > > care > > to not change any of the Windows behavior, since I didn't have a > > Windows > > box handy to test with. If you are still stuck after following the > > existing directions, the output of setup.py may offer some clues. > > > > Cheers, > > Mike > > > > > >
That's my bad from my changes to setup.py yesterday. Please update from SVN and try again. Cheers, Mike william ratcliff wrote: > I tried the new setup.py script and found: > > C:\matplotlib\trunk\matplotlib>c:\python25\python.exe setup.py build > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 0.90.1 (r3634) > python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC > v.1310 32 bit (Intel)] > platform: win32 > Traceback (most recent call last): > File "setup.py", line 122, in <module> > print_status('Windows version', sys.getwindowsversion()) > File "C:\matplotlib\trunk\matplotlib\setupext.py", line 119, in > print_status > subsequent_indent=indent) > File "c:\python25\lib\textwrap.py", line 315, in fill > return w.fill(text) > File "c:\python25\lib\textwrap.py", line 287, in fill > return "\n".join( self.wrap(text)) > File "c:\python25\lib\textwrap.py", line 274, in wrap > text = self._munge_whitespace(text) > File "c:\python25\lib\textwrap.py", line 122, in _munge_whitespace > text = text.expandtabs() > AttributeError: 'tuple' object has no attribute 'expandtabs' > > Any ideas? Thanks!!! > > William > > > On 8/1/07, * Michael Droettboom* <md...@st... > <mailto:md...@st...>> wrote: > > william ratcliff wrote: > > I have a question about building from source on windows: > > I have installed freetype2 and libpng, for zlib, I have a collection > > of dlls, > > But, where do I place these so that matplotlib can find them > (for the > > include files, libraries, etc. Are there any that I have to > > rename?)? I am using mingw for compilation and python 2.5--I have > > built numpy successfully from source and have installed > wxpython. I > > have the latest version of matplotlib from the trunk of the svn > > repository. > As of yesterday, the setup.py script should give a little more > feedback > about where it is looking for external dependencies. I took great > care > to not change any of the Windows behavior, since I didn't have a > Windows > box handy to test with. If you are still stuck after following the > existing directions, the output of setup.py may offer some clues. > > Cheers, > Mike > >
I tried the new setup.py script and found: C:\matplotlib\trunk\matplotlib>c:\python25\python.exe setup.py build ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.90.1 (r3634) python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] platform: win32 Traceback (most recent call last): File "setup.py", line 122, in <module> print_status('Windows version', sys.getwindowsversion()) File "C:\matplotlib\trunk\matplotlib\setupext.py", line 119, in print_status subsequent_indent=indent) File "c:\python25\lib\textwrap.py", line 315, in fill return w.fill(text) File "c:\python25\lib\textwrap.py", line 287, in fill return "\n".join(self.wrap(text)) File "c:\python25\lib\textwrap.py", line 274, in wrap text = self._munge_whitespace(text) File "c:\python25\lib\textwrap.py", line 122, in _munge_whitespace text = text.expandtabs() AttributeError: 'tuple' object has no attribute 'expandtabs' Any ideas? Thanks!!! William On 8/1/07, Michael Droettboom <md...@st...> wrote: > > william ratcliff wrote: > > I have a question about building from source on windows: > > I have installed freetype2 and libpng, for zlib, I have a collection > > of dlls, > > But, where do I place these so that matplotlib can find them (for the > > include files, libraries, etc. Are there any that I have to > > rename?)? I am using mingw for compilation and python 2.5--I have > > built numpy successfully from source and have installed wxpython. I > > have the latest version of matplotlib from the trunk of the svn > > repository. > As of yesterday, the setup.py script should give a little more feedback > about where it is looking for external dependencies. I took great care > to not change any of the Windows behavior, since I didn't have a Windows > box handy to test with. If you are still stuck after following the > existing directions, the output of setup.py may offer some clues. > > Cheers, > Mike >
william ratcliff wrote: > I have a question about building from source on windows: > I have installed freetype2 and libpng, for zlib, I have a collection > of dlls, > But, where do I place these so that matplotlib can find them (for the > include files, libraries, etc. Are there any that I have to > rename?)? I am using mingw for compilation and python 2.5--I have > built numpy successfully from source and have installed wxpython. I > have the latest version of matplotlib from the trunk of the svn > repository. As of yesterday, the setup.py script should give a little more feedback about where it is looking for external dependencies. I took great care to not change any of the Windows behavior, since I didn't have a Windows box handy to test with. If you are still stuck after following the existing directions, the output of setup.py may offer some clues. Cheers, Mike
Hi, How do I scale an image of a plot so that it fits a landscape A4 page? How do you move the position of the x and y labels on the axis? How do you increase the font size of the numbers on each axis? Regards, Jonathan Makem School of Mechanical and Aerospace Engineering Ashby Building Stranmillis Road Belfast BT9 5AH Tel: +44 (0)28 9097 4277 Fax: +44 (0)28 9066 1729 Email: <mailto:jma...@qu...> jma...@qu...
Hi all, I'm going crazy with ticklabels positions, I just want to update yticklabel= s=20 but nothing changes : >tlist=3Dgca().get_yticklabels() >tlist[1].get_position() Out [571]:(0.0, 1.0) >tlist[1].set_position((0.0, 2.0)) >draw() >tlist[1].get_position() Out [574]:(0.0, 1.0) Do I miss something? Thanks =2D-=20 Lionel Roubeyrie - lro...@li... Charg=C3=A9 d'=C3=A9tudes et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr