Is it possible that the freetype library in win32_static is out of date?
Cheers,
William
On 8/1/07, william ratcliff <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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* < [EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>> 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
> > >
> > >
> >
> >
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users