[Haskell-beginners] install trouble: diagrams
Daniel P. Wright
dani at dpwright.com
Fri Jan 30 23:54:19 UTC 2015
I've run into problems like this before; there seems to be some issues with certain versions of llvm. I got around it by compiling arithmoi without llvm support:
$ cabal install Diagrams --constrain "arithmoi -llvm"
30 Jan 2015 22:49、Gregory Guthrie <guthrie at mum.edu> のメッセージ:
> Trying to install Diagrams, but am stuck in a typical Cabal maze of install errors; any hints or help?
>
>> cabal install Diagrams
> Resolving dependencies...
> Configuring arithmoi-0.4.1.1...
> Building arithmoi-0.4.1.1...
> Preprocessing library arithmoi-0.4.1.1...
> ...
> <no location info>:
> Warning: Couldn't figure out LLVM version!
> Make sure you have installed LLVM
> [ 1 of 34] Compiling Math.NumberTheory.Primes.Sieve.Indexing ( Math\NumberTheory
> \Primes\Sieve\Indexing.hs, dist\dist-sandbox-b31b5bcf\build\Math\NumberTheory\Primes\Sieve\Indexing.o )
>
> <no location info>:
> Warning: Couldn't figure out LLVM version!
> Make sure you have installed LLVM
> Failed to install arithmoi-0.4.1.1
> cabal: Error: some packages failed to install:
> arithmoi-0.4.1.1 failed during the building phase. The exception was:
> ExitFailure 1
> diagrams-1.2 depends on arithmoi-0.4.1.1 which failed to install.
> diagrams-contrib-1.1.2.5 depends on arithmoi-0.4.1.1 which failed to install.
>
>
>> cabal install llvm
> ...
> Failed to install type-level-0.2.4
> cabal: Error: some packages failed to install:
> llvm-3.2.0.2 depends on type-level-0.2.4 which failed to install.
> llvm-base-3.2.0.2 failed during the configure step. The exception was:
> ExitFailure 1
> type-level-0.2.4 failed during the building phase. The exception was:
> ExitFailure 1
>
>
>> Cabal install type-level
> ...
> src\Data\TypeLevel\Num\Ops.hs:336:10:
> Illegal instance declaration for `Div10 x q'
> The liberal coverage condition fails in class `Div10'
> for functional dependency: `q -> x'
> Reason: lhs type `q' does not determine rhs type `x'
> In the instance declaration for `Div10 x q'
> Failed to install type-level-0.2.4
> cabal: Error: some packages failed to install:
> type-level-0.2.4 failed during the building phase. The exception was:
> ExitFailure 1
>
>
> ??
>
> -------------------------------------------
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20150131/42b9ffc3/attachment.html>
More information about the Beginners
mailing list