[Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3
mukesh tiwari
mukeshtiwari.iiitm at gmail.com
Thu Feb 9 20:12:16 CET 2012
Hello all
I am trying to install dph-examples on Mac OS X version 10.7.3 but getting this
error <http://hpaste.org/57699>. I am using ghc-7.4.1.
Error running clang! you need clang installed to use the LLVM backend
cabal: Error: some packages failed to install:
dph-examples-0.6.1.3 failed during the building phase. The exception was:
ExitFailure 1
I have already installed Xcode 4.2 and it shows
Macintosh-0026bb610428:tmp mukesh$ clang
clang clang++
Macintosh-0026bb610428:tmp mukesh$ clang -v
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
Macintosh-0026bb610428:tmp mukesh$ clang++ -v
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
Macintosh-0026bb610428:tmp mukesh$ l
Display all 113 possibilities? (y or n)
Macintosh-0026bb610428:tmp mukesh$ llvm-
llvm-ar llvm-config llvm-diff llvm-extract llvm-gcc llvm-link llvm-objdump
llvm-rtdyld llvm-tblgen
llvm-as llvm-cov llvm-dis llvm-g++ llvm-gcc-4.2 llvm-mc llvm-prof llvm-size
llvm-bcanalyzer llvm-cpp-4.2 llvm-dwarfdump llvm-g++-4.2 llvm-ld llvm-nm
llvm-ranlib llvm-stub
Macintosh-0026bb610428:tmp mukesh$ llvm-g++ -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~1/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin11
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~1/dst-llvmCore/Developer/usr/local
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
--target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Regards
Mukesh Tiwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120210/1e8f81fe/attachment.htm>
More information about the Haskell-Cafe
mailing list