Re: [Haskell-cafe] Packages all screwed up

2011-02-01 Thread Krzysztof Skrzętnicki
This is the easiest way conceptually. You can also try to --reinstall every package that 'ghc-pkg check' report is broken. If you pick up the right version and compilation options will match there is a high chance you can fix this state. I've done this before and it worked. Best regards,

Re: [Haskell-cafe] Packages all screwed up

2011-02-01 Thread Arnaud Bailly
I started that way but quickly ran into issues about compilers toolchain for certain packages: I am on windows and some core packages require mingw toolchain. 2011/2/1 Krzysztof Skrzętnicki gte...@gmail.com: This is the easiest way conceptually. You can also try to --reinstall every package

Re: [Haskell-cafe] Packages all screwed up

2011-02-01 Thread Krzysztof Skrzętnicki
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. Best regards, Krzysztof Skrzętnicki 2011/2/1 Arnaud Bailly arnaud.oq...@gmail.com I started that

Re: [Haskell-cafe] Packages all screwed up

2011-02-01 Thread Antoine Latter
On Tue, Feb 1, 2011 at 1:16 AM, Arnaud Bailly arnaud.oq...@gmail.com wrote: Hi, Thanks for your answers. I did cabal upgrade yesod As for the user/global issue, I think I tried a user install, this is default isn't it? Looks like I will have to reinstall everything :-( Well, since you

Re: [Haskell-cafe] Packages all screwed up

2011-02-01 Thread Arnaud Bailly
That's what my experience tell me :-) I guess it is mainly my private packages that are screwed up. I will first try moving this out of the way before reinstalling Haskell Platform. On Tue, Feb 1, 2011 at 1:41 PM, Antoine Latter aslat...@gmail.com wrote: On Tue, Feb 1, 2011 at 1:16 AM, Arnaud

Re: [Haskell-cafe] Packages all screwed up

2011-02-01 Thread Rogan Creswick
On Mon, Jan 31, 2011 at 11:16 PM, Arnaud Bailly arnaud.oq...@gmail.com wrote: Hi, Thanks for your answers. I did cabal upgrade yesod I think 'upgrade' is deprecated, and known to break things on occasion (or at least have unexpected behavior--I'm not clear on the details). You can use

[Haskell-cafe] Packages all screwed up

2011-01-31 Thread Arnaud Bailly
Hello, I recently tried to upgrade some package (eg. yesod) and it seems that, in the process, I screwed up my Haskell packages setup. When I am trying to do a simple: ghc --make Crete1941 It fails with message: Loader\Communication.hs:14:7: Could not find module `System.Process': Use

Re: [Haskell-cafe] Packages all screwed up

2011-01-31 Thread Daniel Fischer
On Monday 31 January 2011 23:59:57, Arnaud Bailly wrote: Hello, I recently tried to upgrade some package (eg. yesod) and it seems that, in the process, I screwed up my Haskell packages setup. Big time. When I am trying to do a simple: ghc --make Crete1941 It fails with message:

Re: [Haskell-cafe] Packages all screwed up

2011-01-31 Thread Antoine Latter
On Mon, Jan 31, 2011 at 4:59 PM, Arnaud Bailly arnaud.oq...@gmail.com wrote: Hello, I recently tried to upgrade some package (eg. yesod) and it seems that, in the process, I screwed up my Haskell packages setup. When I am trying to do a simple: ghc --make Crete1941 What command(s) did you

Re: [Haskell-cafe] Packages all screwed up

2011-01-31 Thread Arnaud Bailly
Hi, Thanks for your answers. I did cabal upgrade yesod As for the user/global issue, I think I tried a user install, this is default isn't it? Looks like I will have to reinstall everything :-( Arnaud On Tue, Feb 1, 2011 at 1:34 AM, Antoine Latter aslat...@gmail.com wrote: On Mon, Jan 31,