Apropos my previous request for help (below): I think I&#39;ve managed to diagnose it and fix it myself.<br><br>It looks like I had a previous version of ghc installed (using &#39;port install ghc&#39;, which installed 6.10.x in /opt/local/bin/.<br>
The Haskell Platform seems to install 7.0.3, in /usr/bin/.<br>Looks like cabal was invoking the older ghc due it being earlier in my PATH.<br>Fixed, and it installs ok now.<br><br>Thanks anyway,<br><br>Nikhil<br><br><div class="gmail_quote">
On Thu, Sep 15, 2011 at 12:29 PM, Rishiyur Nikhil <span dir="ltr">&lt;<a href="mailto:nikhil@acm.org">nikhil@acm.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m following the instructions on the CUFP &quot;T5 Parallel Programming in Haskell&quot;  web page for preparing for the tutorial, where it asks that I should:  &#39;cabal install monad-par&#39;.<br><br>I&#39;m doing this on a Mac, Snow Leopard 10.6.8, after installing Haskell Platform.<br>

I have Xcode 3.2.4 installed.<br><br>I get the following error; please let me know how I should fix it (can reply to me personally instead of the list, at &#39;nikhil at acm dot org&#39;.  Thanks.<br><br>Nikhil<br><br>$ cabal install monad-par<br>

Resolving dependencies...<br>Configuring monad-par-0.1.0.1...<br>Preprocessing library monad-par-0.1.0.1...<br>Building monad-par-0.1.0.1...<br>Control/Monad/Par/Internal.hs:4:15-71:<br>    unknown flag in  {-# OPTIONS #-} pragma: -fno-warn-unused-do-bind<br>

cabal: Error: some packages failed to install:<br>monad-par-0.1.0.1 failed during the building phase. The exception was:<br>ExitFailure 1<br><br>
</blockquote></div><br>