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