I built llvm 3.0, downloaded from here. I did:
./configure CC=gcc CXX=g++ --enable-shared
sudo make -j5 -s install
Next, I cloned the LLVM bindings from here. I am trying:
runhaskell Setup configure
But I get:
Configuring llvm-3.0.0.0...
Setup.lhs: At least the following dependencies are missing:
llvm-base ==3.0.*, type-level -any
I am running Linux Mint 64-bit (equivalent to Ubuntu 11.0). GHC is 6.12.3. I tried a cabal install but apparently the llvm version is too old to run some examples (am I mistaken?).
What am I doing wrong?
Bryan recently split the llvm
package in two, that split has not yet made it to hackage. So if you don't want to simply cabal install the hackage version,
type-level
package (cabal install should work fine)base
subdirectory of the llvm-repo, install llvm-base
llvm
directory, installI have not tried it, so it might not work, but usually Bryan's repos are buildable, so there's a good chance that it does.