matplotlib in cygwin

When I try to complile with Tk in cygwin I fail in a different manner than
you do:

gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-IC:/cygwin/usr/share/tcl8.4/../../include
-IC:/cygwin/usr/share/tk8.4/../../include -I/usr/local/include
-I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/usr/local/include
-I/usr/include -I. -IC:/cygwin/usr/share/tcl8.4/../../include/freetype2
-IC:/cygwin/usr/share/tk8.4/../../include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-Isrc/freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/include/python2.4 -c src/_tkagg.cpp -o
build/temp.cygwin-1.5.18-i686-2.4/src/_tkagg.o
C:\cygwin\bin\python2.4.exe (3292): *** unable to remap
C:\cygwin\bin\tk84.dll to same address as parent(0x18CC0000) != 0x19200000
      3 [main] python 3228 fork_parent: child 3292 died waiting for dll
loading
error: Error

I'm compiling it with Tkagg disabled at the moment and just using the PS
backend. Any ideas what I'm doing different than you?

Jordan

freedryk@...273... writes:

When I try to complile with Tk in cygwin I fail in a different manner than
you do:

[snip]

build/temp.cygwin-1.5.18-i686-2.4/src/_tkagg.o
C:\cygwin\bin\python2.4.exe (3292): *** unable to remap
C:\cygwin\bin\tk84.dll to same address as parent(0x18CC0000) != 0x19200000
      3 [main] python 3228 fork_parent: child 3292 died waiting for dll
loading
error: Error

I'm compiling it with Tkagg disabled at the moment and just using the PS
backend. Any ideas what I'm doing different than you?

You need to run 'rebaseall' see:

http://sourceforge.net/mailarchive/forum.php?thread_id=8924137&forum_id=33405

/etc/setup contains lists of the files it rebases - and this doesn't
include packages you have compiled yourself - I've added a list of the
contents of /usr/lib/python2.4/site-packages to this directory so it
rebases them as well.

Chris