Thank you very much. I used Homebrew. Now I can compile albeit with a warning. I have yet to try running it.

Loading package repa-3.2.3.1 ... linking ... done.
You are using a new version of LLVM that hasn't been tested yet!
We will try though...

Dominic Steinitz
dominic@steinitz.org
http://idontgetoutmuch.wordpress.com

On 10 Aug 2013, at 16:36, Brandon Allbery <allbery.b@gmail.com> wrote:

On Sat, Aug 10, 2013 at 7:39 AM, Dominic Steinitz <dominic@steinitz.org> wrote:
<no location info>:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM
ghc: could not execute: opt

The ghc documentation
(http://www.haskell.org/ghc/docs/7.6.1/html/users_guide/code-generators.html)
says that llvm and clang are installed by default for 10.6 and
later. I am on 10.8.3.

Apple *still* doesn't ship a full LLVM for some reason. I installed one via MacPorts; Homebrew also has it. Maybe if enough people file bugs with Apple, they'll start providing the whole thing instead of just the parts they use in Xcode. :/
 
--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net