Ivan,
Duncan,

Thank you both very much for your kind help and comments.
I'm really impressed with the quality of help at Haskell Cafe,
and Cabal really has worked great for me; I'll just avoid "upgrade"
in the future.

Anyone:

So, to get a clean start with my library situation I will delete my
"...\Application Data\ghc" dir which includes dir
"...\Application Data\ghc\i386-mingw32-6.12.1\package.conf.d\"
which contains a lot of .conf files.

I am also wondering about whether I should delete any dirs in my
cabal tree.

I would keep my cabal config file, and "...\cabal\bin\" of course,
but should I delete the various package dirs there also?

And should I delete the "...\cabal\packages\hackage.haskell.org\"
tree? Those seem to be tarballs.

Thanks again,
-- Peter


On Thu, Sep 16, 2010 at 8:54 PM, Ivan Lazar Miljenovic
<[email protected]> wrote:
> On 17 September 2010 13:52, Ivan Lazar Miljenovic
> <[email protected]> wrote:
>> Run "ghc-pkg check", and do a "cabal install --reinstall" for all
>> packages that it says need to be rebuilt at the bottom.
>
> Actually, I just re-read your post and you seem to have bigger problems...
>
> The cause of the problem: you used "cabal upgrade".  This appears to
> have resulted in cabal-install "upgrading" boot libraries, which is a
> big no-no.
>
> Probably the easiest way to fix this is to delete your ~/.ghc/
> directory (and thus wipe out the libraries you installed with
> cabal-install) and re-install the libraries you want.
>
...
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to