I had wrote last mail without verifications, so ./Setup configure
--hsc2hs-options='--cflag=-m32 --lflag=-m32' is correct.
But I'm glad to know you got working fine with zlib :)
~-nwn
On Sun, Nov 29, 2009 at 8:00 AM, Antoine Latter wrote:
> On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto wro
On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto wrote:
> I think you installed zlib without proper flags to link with 32-bit
> libraries. configuring with ./Setup configure
> --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
>
> See also http://hackage.haskell.org/trac/ghc/tick
I think you installed zlib without proper flags to link with 32-bit
libraries. configuring with ./Setup configure
--with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
See also http://hackage.haskell.org/trac/ghc/ticket/3681.
HTH
-~nwn
On Sun, Nov 29, 2009 at 6:01 AM, Antoine Latte
Hello folks,
Everything has been going beautifully with the latest versions of GHC
6.12, except that anything involving zlib dies at run-time. In ghci:
> :m Codec.Compression.Zlib
> :m +Data.ByteString.Lazy.Char8
> :s -XOverloadedStrings
> compress "hello"
*** Exception: user error (Codec.Compre