[Haskell-beginners] Haskell Package for Mac issues

Alba Marchisio alba.marchisio at gmail.com
Wed Apr 13 15:20:27 CEST 2011


GHC 7.0.3 solve the compatibility problems between Xcode 4 and GHC.
No news about a future release of Haskell Platform. Sorry.

Alba.

2011/4/5 Andrew n marshall <andrew.n.marshall at gmail.com>

>
> I've been using the Haskell package for the last week to learn Haskell, but
> I've found several issues that make it feel like abandonware (which I know
> its not).
>
> I'm running OS X 10.6.7 with XCode 4 and installed the Haskell Platform
> 2011.2.0.0-x86_64.pkg.
> (I just realized this is labeled an experiment build.  I hope that isn't
> the root of my problems.  Tell me if it is.)
>
> ghci and runhaskell all work fine, which has been enough to get me into the
> language (which I'm quite enjoying).
>
> ghc will not compile the simplest program without manually specifying
> -L/usr/lib:
>
> $ cat hello_world.hs
> main = putStrLn "hello, world"
>
> $ ghc --make hello_world
> Linking hello_world ...
> ld: library not found for -lcrt1.10.5.o
> collect2: ld returned 1 exit status
>
> $ ghc -L/usr/lib --make hello_world
> Linking hello_world ...
> ld: warning: -read_only_relocs cannot be used with x86_64
> ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
>
>   Seems like a pretty important directory to include, making it feel like a
> very serious oversight.  I've been told this is because the Haskell Package
> is linked to the /Developer/SDKs/MacOSX10.5.sdk/ directory, even though
> the package is explicitly labeled for 10.6.
>
> This error comes up in Cabal installs as well.  In fact, I have not been
> able to get a singe Cabal install to succeed out-of-the-box. I've tried a
> variety of packages such as vec, pandoc, yi.
>
> I'm understandably hesitant to just symlink my entire 10.6 SDK as 10.5 just
> to get this to work.  I would greatly appreciate alternative solutions.
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110413/c22d8cfd/attachment.htm>


More information about the Beginners mailing list