[Haskell-cafe] Installation of package text failing installation on ghc 7.6.3

Brandon Allbery allbery.b at gmail.com
Sun May 11 20:56:07 UTC 2014

On Sun, May 11, 2014 at 4:46 PM, Victor Miller <victorsmiller at gmail.com>wrote:

> I just downloaded the latest Haskell platform (I realize that ghc might
> not be up-to-date in this) for my macbook.  I installed it, which appeared
> to go without problems.  However, when I tried to update the package text,
> I get the errors below.  I suspect that the first error (not recognizing '
> in a comment) cascades through the rest.    How do you suggest fixing this
> (other than getting Bryan do drop the apostrophe :-))?

This is the reason the Platform hasn't been updated yet (will happen later
this month) --- anything using the CPP extension is broken on OS X with
Xcode 5.0.2 or later, because its cpp is not compatible with Haskell code.

If you install the Platform via MacPorts or Homebrew then you will get one
built using gcc, and this won't happen. Alternatively there is a patch you
can apply to work around most (but not all) of the incompatibilities; see
http://www.haskell.org/platform/mac.html under "Xcode 5 & OS X 10.9
(Mavericks)" (note that that heading is actually in error, as 10.8 will
also show the problem if an Xcode beyond 5.0.1 is installed).

Alternately you can wait for the new Platform release later this month,
which will be based on ghc 7.8.2 which has its own workaround for the

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140511/90b4bfdd/attachment.html>

More information about the Haskell-Cafe mailing list