cabal install gloss-raster
출력 : 나는 LLVM (apt-get install llvm
)을 설치 한카발 : 때문에 LLVM의 광택 래스터를 설치할 수는
Resolving dependencies...
Configuring gloss-raster-1.7.4.3...
Building gloss-raster-1.7.4.3...
Preprocessing library gloss-raster-1.7.4.3...
[1 of 2] Compiling Graphics.Gloss.Raster.Array (Graphics/Gloss/Raster/Array.hs, dist/build/Graphics/Gloss/Raster/Array.o)
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
ghc: could not execute: opt-3.0
cabal: Error: some packages failed to install:
gloss-raster-1.7.4.3 failed during the building phase. The exception was:
ExitFailure 1
와 하스켈 라이브러리 (cabal install llvm
), 그래서 LLVM에 어떤 문제가 있습니까?
sudo cabal install llvm-3.0
내가 가진와 특정 버전을 설치하려고 :
Resolving dependencies...
cabal: Could not resolve dependencies:
next goal: llvm (user goal)
rejecting: llvm-3.0.1.0/installed-d41..., 3.0.1.0, 3.0.0.0, 0.10.0.1,
0.10.0.0, 0.9.1.2, 0.9.1.1, 0.9.1.0, 0.9.0.1, 0.8.2.0, 0.8.1.0, 0.8.0.2,
0.7.1.2, 0.7.1.1, 0.7.1.0, 0.7.0.1, 0.7.0.0, 0.6.8.0, 0.6.7.0, 0.6.6.0,
0.6.5.0, 0.6.4.0, 0.6.3.0, 0.6.2.0, 0.6.0.3, 0.6.0.2, 0.5.0.1, 0.4.4.2,
0.4.4.1, 0.4.2.0, 0.4.1.0, 0.4.0.3, 0.4.0.1, 0.4.0.0, 0.0.2 (global constraint
requires ==3.0)
'opt-3.0'은 llvm 3.0이 필요하다고 제안합니다. 어떤 버전이 있습니까? 'llvm-dev'도 설치해야 할 수도 있습니다. –
첫 번째 글을 편집했습니다. 'llvm-dev'를 설치하는 것이 도움이되지 않았습니다. – L01man