AFAIK GHC on Windows comes with it&#39;s own mingw, but I&#39;m not sure if the toolchain is complete. But I wouldn&#39;t try to reinstall core packages anyway. They are best picked from installation package.<div><br></div>

<div>Best regards,</div><div>Krzysztof Skrzętnicki<br><br><div class="gmail_quote">2011/2/1 Arnaud Bailly <span dir="ltr">&lt;<a href="mailto:arnaud.oqube@gmail.com">arnaud.oqube@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I started that way but quickly ran into issues about compilers<br>
toolchain for certain packages: I am on windows and some core packages<br>
require mingw toolchain.<br>
<br>
<br>
2011/2/1 Krzysztof Skrzętnicki &lt;<a href="mailto:gtener@gmail.com">gtener@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; This is the easiest way conceptually. You can also try to --reinstall every<br>
&gt; package that &#39;ghc-pkg check&#39; report is broken. If you pick up the right<br>
&gt; version and compilation options will match there is a high chance you can<br>
&gt; fix this state. I&#39;ve done this before and it worked.<br>
&gt; Best regards,<br>
&gt; Krzysztof Skrzętnicki<br>
&gt;<br>
&gt; On Tue, Feb 1, 2011 at 08:16, Arnaud Bailly &lt;<a href="mailto:arnaud.oqube@gmail.com">arnaud.oqube@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt; Thanks for your answers.<br>
&gt;&gt;<br>
&gt;&gt; I did<br>
&gt;&gt;<br>
&gt;&gt; &gt; cabal upgrade yesod<br>
&gt;&gt;<br>
&gt;&gt; As for the user/global issue, I think I tried a user install, this is<br>
&gt;&gt; default isn&#39;t it?<br>
&gt;&gt;<br>
&gt;&gt; Looks like I will have to reinstall everything :-(<br>
&gt;&gt;<br>
&gt;&gt; Arnaud<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Feb 1, 2011 at 1:34 AM, Antoine Latter &lt;<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On Mon, Jan 31, 2011 at 4:59 PM, Arnaud Bailly &lt;<a href="mailto:arnaud.oqube@gmail.com">arnaud.oqube@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt; Hello,<br>
&gt;&gt; &gt;&gt; I recently tried to upgrade some package (eg. yesod) and it seems<br>
&gt;&gt; &gt;&gt; that, in the process, I screwed up my Haskell packages setup.<br>
&gt;&gt; &gt;&gt; When I am trying to do a simple:<br>
&gt;&gt; &gt;&gt;&gt; ghc --make Crete1941<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; What command(s) did you issue to &quot;upgrade some packages?&quot;<br>
&gt;&gt; &gt; Were you trying to do a user or global install?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; When ghc loads packages, I&#39;ve had cases where packages in the user db<br>
&gt;&gt; &gt; would shadow packages in the global db, causing *other* packages in<br>
&gt;&gt; &gt; the global db to report as &quot;broken&quot;.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt; Antoine<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Haskell-Cafe mailing list<br>
&gt;&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt;&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>