When I tried this, I discovered that when building the zlib C code, I had
to
cd zlib-1.2.3
and that then of course makes the
cd ..
before building the haskell zlib right.
(Not to mention the obvious typo of Setup.py for Setup.hs.)
I also had to add -package fps to ghc-options in zlib.cabal, b
Building haskell's zlib library for win32 is not trivial since
it relies on an external C library. Most of the required tools
are shipped with the ghc binary distribution though. I finally
bit the bullet and jumped through the build hoops to install
it. My notes are attached below.
The build c