UNIVERSAL=1 worked for me too. Is there a way for cabal install to detect if LLVM wasn't built with this required flag and give a more informative error message?
On 10 April 2010 03:18, Aran Donohue <aran.donohue@gmail.com> wrote:My LLVM checkout was still recompiling when I sent that email, but
> problems with ghc-pkg. I think we need to rebuild LLVM forcing 32-mode, but
> I haven't yet found the results of this. I'd love to hear what you did if
> you manage to get it going and compile programs.
it's now finished and it fixed the problem.
All you need to do is compile LLVM as follows:
$ UNIVERSAL=1 make
Then "make install" the result. That made the LLVM bindings configure
and compile fine for me.
Cheers,
Max