[Haskell-cafe] Re: Snow Leopard Breaks GHC
Christian Maeder
Christian.Maeder at dfki.de
Thu Sep 3 09:12:48 EDT 2009
It might help to add -optc-m32 -opta-m32 -optl-m32 to /usr/bin/ghci,
too. (TH uses ghci)
Cheers Christian
Brian Sniffen wrote:
> Having edit the Haskell Platform's /usr/bin/ghc in place, most
> packages install fine. I'm still having trouble with Pandoc, even
> given the advice:
>
>> Once cabal works, options --ld-option=-m32 (and also --gcc-option=-m32)
>> may be used. These options may also be passed to "./Setup configure"
>
> The problem appears to come when linking an incompatible zlib version:
>
> src/Text/Pandoc/ODT.hs:49:26:
> Exception when trying to run compile-time code:
> user error (Codec.Compression.Zlib: incompatible zlib version)
> Code: ($) makeZip "data" </> "odt-styles"
> In the first argument of `read', namely
> `$(makeZip $ "data" </> "odt-styles")'
> In the expression: read ($(makeZip $ "data" </> "odt-styles"))
> In the definition of `refArchive':
> refArchive = read ($(makeZip $ "data" </> "odt-styles"))
>
> I do have a universal zlib installed by MacPorts, as well as the
> universal zlib that shipped with Snow Leopard and the universal zlib
> that came with Cabal. I'm not sure whether this message indicates
> that TH code is searching a different library path than non-TH code or
> what. Advice is most welcome.
>
More information about the Haskell-Cafe
mailing list