UNIVERSAL=1 worked for me too. Is there a way for <font class="Apple-style-span" face="'courier new', monospace">cabal install</font> to detect if LLVM wasn't built with this required flag and give a more informative error message?<div>
<br></div><div>Aran<br><br><div class="gmail_quote">On Sat, Apr 10, 2010 at 2:28 AM, Max Bolingbroke <span dir="ltr"><<a href="mailto:batterseapower@hotmail.com">batterseapower@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 10 April 2010 03:18, Aran Donohue <<a href="mailto:aran.donohue@gmail.com">aran.donohue@gmail.com</a>> wrote:<br>
> problems with ghc-pkg. I think we need to rebuild LLVM forcing 32-mode, but<br>
> I haven't yet found the results of this. I'd love to hear what you did if<br>
> you manage to get it going and compile programs.<br>
<br>
</div>My LLVM checkout was still recompiling when I sent that email, but<br>
it's now finished and it fixed the problem.<br>
<br>
All you need to do is compile LLVM as follows:<br>
<br>
$ UNIVERSAL=1 make<br>
<br>
Then "make install" the result. That made the LLVM bindings configure<br>
and compile fine for me.<br>
<br>
Cheers,<br>
<font color="#888888">Max<br>
</font></blockquote></div><br></div>