Apropos my previous request for help (below): I think I've managed to diagnose it and fix it myself.<br><br>It looks like I had a previous version of ghc installed (using 'port install ghc', 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"><<a href="mailto:nikhil@acm.org">nikhil@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm following the instructions on the CUFP "T5 Parallel Programming in Haskell" web page for preparing for the tutorial, where it asks that I should: 'cabal install monad-par'.<br><br>I'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 'nikhil at acm dot org'. 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>