[Haskell-beginners] llvm haskell bindings

Philippe Sismondi psismondi at arqux.com
Mon Dec 19 19:10:23 CET 2011


I am running OS X 10.6.8 with Xcode 4. I have the Haskell Platform installed, ghc v. 7.0.3.

I cannot get the llvm haskell bindings to install correctly using cabal. I get this at the tail end of messages from cabal:

checking llvm-c/Core.h usability... yes
checking llvm-c/Core.h presence... yes
checking for llvm-c/Core.h... yes
checking llvm/Support/DynamicLibrary.h usability... yes
checking llvm/Support/DynamicLibrary.h presence... yes
checking for llvm/Support/DynamicLibrary.h... yes
checking for LLVMModuleCreateWithName in -lLLVMCore... no
checking for LLVMModuleCreateWithName in -lLLVMCore... no
configure: error: could not find LLVM C bindings
cabal: Error: some packages failed to install:
llvm-0.10.0.1 failed during the configure step. The exception was:
ExitFailure 1


Has anyone had any luck getting this set up? Googling leads me to some rather terse comments that the Apple llvm installation does not include the required llvm libraries. I hate to install a separate set of llvm stuff with macports, or the llvm repository, because I fear that I might run into all kinds of puzzling conflicts with the Apple stuff.

Ideas?

- P -


More information about the Beginners mailing list