<div dir="ltr">On Wed, Jul 11, 2012 at 5:28 AM, Magicloud Magiclouds <span dir="ltr">&lt;<a href="mailto:magicloud.magiclouds@gmail.com" target="_blank">magicloud.magiclouds@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Even I removed all user space packages, the error was still. I think<br>
it is a ghc pkg problem, that every package register itself as<br>
package:function while ghc (or cabal?) required<br>
package-version:function.<br></blockquote><div><br></div><div>That&#39;s not the problem, it&#39;s the symptom.  Package symbols are always versioned; ghc only shows the version when it&#39;s the only way to disambiguate symbols.</div>
<div><br></div><div>So when it shows you a conflict where one is versioned and the other isn&#39;t, you have multiple versions of a package installed.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

But --constraint=&#39;template-haskell-2.7.0.0&#39; did make it compiled.<br></blockquote><div><br></div><div>And that&#39;s how you prevent it.</div></div><div><br></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>
wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br><br>
</div>