
Thanks Patrick. I think cabal on Windows is different. There is no index.tar.gz on my computer. Maybe I'll wait for a new release of the Haskell Platform to install GHC again :-(
Additonal: a few days ago I tried to install eclipseFP and the installation failed with a cabal error (don't know what error). Maybe that is the source of my problems….?
Kees
=========================
Van: Beginners [mailto:beginners-bounces@haskell.org] Namens Patrick Wheeler
Verzonden: zondag 4 mei 2014 23:35
Aan: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell
Onderwerp: Re: [Haskell-beginners] cabal problems
I have not run into that problem before.
I would download:
http://hackage.haskell.org/packages/index.tar.gz
There is a link for it near the bottom of the main page:
http://hackage.haskell.org
On my mac i would copy it to:
~/.cabal/packages/hackage.haskell.org/.
I am not sure where the cabal directory is on windows though.
If that does not work another option wold but to download the source for cabal-install and compile it.
cabal unpack cabal-install, or grab the tarball at the bottom of:
http://hackage.haskell.org/package/cabal-install
cd into the directory and use `cabal install`
That should work if you have all of the dependancies already on your computer. If you don't and the missing dependency list is large(cabal configure can tell you what you are missing) then it might just be quicker to reinstall the haskell platform.
Hope that helps,
Patrick
On Sat, May 3, 2014 at 1:09 PM, Kees Bleijenberg