Oh!

I was pretty sure that I made these patches correctly. But guess what, the added flags to hsc2hs are different from the others. And I did a bling copy/paste.

Thanks for reminding it Gregory.

Best,

2010/1/6 Gregory Collins <greg@gregorycollins.net>
Ozgur Akgun <ozgurakgun@gmail.com> writes:

> Just to check, anyone running Snow Leopard and *CAN* install
> "zlib-0.5.2.0" using "cabal install zlib"?
>
> I'm trying to make sure whether I am the only one having this problem
> or I have some companion.

   $ cabal install --reinstall zlib
   Resolving dependencies...
   Configuring zlib-0.5.2.0...
   Preprocessing library zlib-0.5.2.0...
   Building zlib-0.5.2.0...
   [1 of 5] Compiling Codec.Compression.Zlib.Stream ( dist/build/Codec/Compression/Zlib/Stream.hs, dist/build/Codec/Compression/Zlib/Stream.o )
   [2 of 5] Compiling Codec.Compression.Zlib.Internal ( Codec/Compression/Zlib/Internal.hs, dist/build/Codec/Compression/Zlib/Internal.o )
   [3 of 5] Compiling Codec.Compression.Zlib.Raw ( Codec/Compression/Zlib/Raw.hs, dist/build/Codec/Compression/Zlib/Raw.o )
   [4 of 5] Compiling Codec.Compression.Zlib ( Codec/Compression/Zlib.hs, dist/build/Codec/Compression/Zlib.o )
   [5 of 5] Compiling Codec.Compression.GZip ( Codec/Compression/GZip.hs, dist/build/Codec/Compression/GZip.o )
   ar: creating archive dist/build/libHSzlib-0.5.2.0.a
   Installing library in /Users/greg/.cabal/lib/zlib-0.5.2.0/ghc-6.10.4
   Registering zlib-0.5.2.0...
   Reading package info from "dist/installed-pkg-config" ... done.
   Writing new package config file... done.

No problem here. Please ensure you've patched /usr/bin/ghc,
/usr/bin/ghci, /usr/bin/runhaskell, /usr/bin/runghc, and /usr/bin/hsc2hs
according to the instructions on http://haskell.org/haskellwiki/OSX .

The next release of the Haskell Platform installer should fix this
issue.

G
--
Gregory Collins <greg@gregorycollins.net>



--
Ozgur Akgun