[Haskell-cafe] Installing dph-examples in Mac OS X Version 10.7.2

mukesh tiwari mukeshtiwari.iiitm at gmail.com
Sun Jan 15 12:42:29 CET 2012


Hello all
I am trying to install dph-examples on Mac OS X. First I have Xcode 4.2.1
and during the installation i got this <http://hpaste.org/56445> error


Installing library in
/Users/mukesh/.cabal/lib/dph-seq-0.5.1.1/ghc-7.2.1Registering
dph-seq-0.5.1.1...Downloading dph-examples-0.5.1.2...Configuring
dph-examples-0.5.1.2...Building dph-examples-0.5.1.2...Preprocessing
executable 'dph-sumsq-seq' for dph-examples-0.5.1.2...[1 of 5]
Compiling SumSquaresVectorised (
imaginary/SumSquares/dph/SumSquaresVectorised.hs,
dist/build/dph-sumsq-seq/dph-sumsq-seq-tmp/SumSquaresVectorised.o
)Error (fd:12: hGetLine: end of file)Warning: Couldn't figure out LLVM
version!Make sure you have installed LLVMghc: could not execute:
optcabal: Error: some packages failed to install:dph-examples-0.5.1.2
failed during the building phase. The exception was:ExitFailure 1


On stackoverflow<http://stackoverflow.com/questions/8864696/installing-dph-examples-in-mac-os-x-10-7-2>
, i got suggestion to remove Xcode 4.2 and install Xcode 3.2. After
installing Xcode 3.2  , I am still getting this error.

Macintosh:~ mukesh$ cabal install dph-examples
Resolving dependencies...
Configuring dph-examples-0.5.1.2...
Building dph-examples-0.5.1.2...
Preprocessing executable 'dph-sumsq-seq' for dph-examples-0.5.1.2...
[1 of 5] Compiling SumSquaresVectorised (
imaginary/SumSquares/dph/SumSquaresVectorised.hs,
dist/build/dph-sumsq-seq/dph-sumsq-seq-tmp/SumSquaresVectorised.o )
Error (fd:11: hGetLine: end of file)
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
ghc: could not execute: opt
cabal: Error: some packages failed to install:
dph-examples-0.5.1.2 failed during the building phase. The exception was:
ExitFailure 1

Macintosh:~ mukesh$ uname -a
Darwin Macintosh 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:56:15
PDT 2011; root:xnu-1699.24.8~1/RELEASE_I386 i386

Macintosh:~ mukesh$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.2.1

Xcode 3.2 ( 64 bit )

Could some one please tell me how to resolve this issue.
Regards
Mukesh Tiwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120115/f6bfc875/attachment.htm>


More information about the Haskell-Cafe mailing list