Post Thu Nov 03, 2005 4:40 pm

PIL & Cygwin

I had problems building PIL under Cygwin — it was giving me a really arcane error message that seemingly included but one english sentence:
  Code:
unable to remap C:\cygwin\bin\tk84.dll to same address as parent

A trip down the back-alleys of the internet with Google turned up this:
Jason Tishler wrote:Due to issues with Cygwin's fork() and DLL base address conflicts, one should rebase their Cygwin system to prevent fork() failures. Use the following procedure to rebase your system:
  1. install the Cygwin rebase package (if necessary)
  2. shutdown all Cygwin processes
  3. start bash (do not use rxvt)
  4. execute rebaseall (in the bash window)

You actually have to use ash, not bash, but after this it no longer complains about remapping.

I just thought I'd share, seen as how PIL is pretty essential to quite a few of the levels and I don't think that installing an external module was meant to be part of the puzzle.