[Haskell-cafe] Re: Snow Leopard Breaks GHC

Christian Maeder Christian.Maeder at dfki.de
Tue Sep 1 04:14:43 EDT 2009


It seems, bootstrapping cabal went wrong. Does
http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2-i386.dmg
work?

Once cabal works, options --ld-option=-m32 (and also --gcc-option=-m32)
may be used. These options may also be passed to "./Setup configure"

C.

Tom Tobin wrote:
> Hmm ... running Snow Leopard here, I added these arguments to my
> /usr/bin/ghc (and my /usr/bin/ghci, and /usr/bin/runhaskell, for good
> measure), and I end up getting the following error on "cabal update"
> after installing cabal-install:
> 
> *****
> cabal: user error (Codec.Compression.Zlib: incompatible version)
> *****
> 
> Earlier in the cabal-install bootstrap process, I get the following line:
> 
> *****
> ld: warning: in
> /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/libgmp.a,
> file is not of required architecture
> *****
> 
> I'm guessing something's still not being set to 32-bit?


More information about the Haskell-Cafe mailing list