You want the ghc settings file.
It should work afterwards. Note that llvm3.4 is the latest llvm but is not tested on ghc (llvm3.3 is). I use 3.4 w/o issues though.3. Edit ghc.conf (not sure if the name is correct), to add ~/.llvm/bin/llc (in my case) and ~/.llvm/bin/llvm where required. I don't remember the path, somewhere in lib in think. It's the file that is read when running ghc --info2. Put all of the files somewhere you find convenient (I use ~/.llvm)1. Download llvm from the official website (binaries or source). If you download the source compile it.Since you use brew, I'll assume you're using osx.I had the same problem a few weeks ago. Here's how I solved it (be advised, it's an ugly hack):
--
CpOn Thu, Mar 6, 2014 at 10:05 AM, Miro Karpis <miroslav.karpis@gmail.com> wrote:
Hi, please can you help me with following: I'm unable to install gloss-raster. Output is:dev$ cabal install gloss-rasterResolving dependencies...Configuring gloss-raster-1.8.1.2...Building gloss-raster-1.8.1.2...Preprocessing library gloss-raster-1.8.1.2...[1 of 2] Compiling Graphics.Gloss.Raster.Array ( Graphics/Gloss/Raster/Array.hs, dist/build/Graphics/Gloss/Raster/Array.o )<no location info>:Warning: Couldn't figure out LLVM version!Make sure you have installed LLVMghc: could not execute: optFailed to install gloss-raster-1.8.1.2cabal: Error: some packages failed to install:gloss-raster-1.8.1.2 failed during the building phase. The exception was:ExitFailure 1llvm seems to be installed:$ brew install llvm
Warning: llvm-3.3 already installedcheers,m.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe