bos/llvm — Issue #24: What is the trick to install this package?
Author: scan
Created: 2011-11-23 10:53:44+00:00
State: open

I have tried it with a self-built llvm, both the `configure` and `cmake` way, I have tried version 2.8 and 2.9, I have tried the ubuntu packages `llvm-dev`. But with every of these installs, `cabal install llvm` replied the same way:

```
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
```

The funny detail is, I've made it work on my home-desktop just recently, with a self-built llvm 2.9. But I have no idea how.

What is the magic trick to get this package to install?