[Haskell-cafe] gloss-raster: Couldn't figure out LLVM version! (osx 10.8.5)
miroslav.karpis at gmail.com
Thu Mar 6 15:07:41 UTC 2014
Thanks,. But still no luck
With ghc settings file you mean the settings file in for example my case:
In the file I can see following lines:
("LLVM llc command", "llc"),
("LLVM opt command", "opt")
When I changed llc to "usr/bin/llvm-gcc" nothing happened. So I guess I
should edit something else?,.
From: Carter Schonwald <carter.schonwald at gmail.com>
Date: Thursday, March 6, 2014 3:39 PM
To: Charles-Pierre Astolfi <cpa at crans.org>
Cc: Miroslav Karpis <miroslav.karpis at gmail.com>, Haskell Cafe
<haskell-cafe at haskell.org>
Subject: Re: [Haskell-cafe] gloss-raster: Couldn't figure out LLVM version!
You want the ghc settings file.
Make sure you point it to the absolute path.
On Thursday, March 6, 2014, Charles-Pierre Astolfi <cpa at crans.org> wrote:
> 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):
> 1. Download llvm from the official website (binaries or source). If you
> download the source compile it.
> 2. Put all of the files somewhere you find convenient (I use ~/.llvm)
> 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 --info
> 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.
> On Thu, Mar 6, 2014 at 10:05 AM, Miro Karpis <miroslav.karpis at gmail.com
>> Hi, please can you help me with following: I'm unable to install
>> gloss-raster. Output is:
>> dev$ cabal install gloss-raster
>> Resolving dependencies...
>> Configuring gloss-raster-188.8.131.52...
>> Building gloss-raster-184.108.40.206...
>> Preprocessing library gloss-raster-220.127.116.11...
>> [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 LLVM
>> ghc: could not execute: opt
>> Failed to install gloss-raster-18.104.22.168
>> cabal: Error: some packages failed to install:
>> gloss-raster-22.214.171.124 failed during the building phase. The exception was:
>> ExitFailure 1
>> llvm seems to be installed:
>> $ brew install llvm
>> Warning: llvm-3.3 already installed
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe