problems installing cabal on windows

I recently upgraded to GHC 6.12.1 on my windows system. Now I have trouble getting cabal right. I read the forums, and I got the cabal.exe for windows. I think I followed the upgrade instructions. However I do not get it all to work. THis is my version of Cabal: C:>cabal --version cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library However, when I try to install any library, I get: C:>cabal install graphviz cabal: failed to parse output of 'ghc-pkg dump' I get the feeling that I miss some step during installation, but I cannot figure out what that should be. I am the only user of my windows machine, and I have admin rights. Any suggestions are welcome! Han Joosten -- View this message in context: http://old.nabble.com/problems-installing-cabal-on-windows-tp27363309p273633... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

Hi, Try a:
cabal update cabal install cabal-install
That will set you up with a newer version of Cabal, that should be GHC
6.12 compatible. Make sure you do all this while GHC 6.10 is on the
path, so it knows how to install cabal-install.
Thanks, Neil
On Fri, Jan 29, 2010 at 6:36 PM, Han Joosten
I recently upgraded to GHC 6.12.1 on my windows system. Now I have trouble getting cabal right. I read the forums, and I got the cabal.exe for windows. I think I followed the upgrade instructions. However I do not get it all to work. THis is my version of Cabal:
C:>cabal --version cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library
However, when I try to install any library, I get:
C:>cabal install graphviz cabal: failed to parse output of 'ghc-pkg dump'
I get the feeling that I miss some step during installation, but I cannot figure out what that should be.
I am the only user of my windows machine, and I have admin rights. Any suggestions are welcome!
Han Joosten -- View this message in context: http://old.nabble.com/problems-installing-cabal-on-windows-tp27363309p273633... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Am Freitag 29 Januar 2010 19:36:12 schrieb Han Joosten:
I recently upgraded to GHC 6.12.1 on my windows system. Now I have trouble getting cabal right. I read the forums, and I got the cabal.exe for windows. I think I followed the upgrade instructions. However I do not get it all to work. THis is my version of Cabal:
C:>cabal --version cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library
for ghc-6.12.1, you need cabal-install-0.8, http://hackage.haskell.org/package/cabal-install I'm afraid the Haskell Platform is still for 6.10, I don't know whether there's a windows binary around anywhere.
However, when I try to install any library, I get:
C:>cabal install graphviz cabal: failed to parse output of 'ghc-pkg dump'
I get the feeling that I miss some step during installation, but I cannot figure out what that should be.
I am the only user of my windows machine, and I have admin rights. Any suggestions are welcome!
Install the Haskell Platform with 6.10 and wait before you move to 6.12, or try getting cabal 0.8 to work by hand (if google doesn't reveal windows binaries).
Han Joosten

Tanks for replying. I now see what went wrong: I went to http://www.haskell.org/cabal/release/cabal-install-0.8.0/ http://www.haskell.org/cabal/release/cabal-install-0.8.0/ , because I had read that I needed the 0.8.0 version. I read the page, and grabbed the cabal.exe binary, assuming that it would be version 0.8.0. However, it was the 0.6.2 version. Just too bad. I changed my path to ghc-6.10.2 again, and tried to install the new cabal-install version: C:\>cabal install cabal-install Resolving dependencies... Configuring old-time-1.0.0.2... cabal: Error: some packages failed to install: Cabal-1.6.0.3 depends on old-time-1.0.0.2 which failed to install. HTTP-4000.0.7 depends on old-time-1.0.0.2 which failed to install. cabal-install-0.6.4 depends on old-time-1.0.0.2 which failed to install. directory-1.0.0.3 depends on old-time-1.0.0.2 which failed to install. old-time-1.0.0.2 failed during the configure step. The exception was: sh: runProcess: does not exist (No such file or directory) process-1.0.1.1 depends on old-time-1.0.0.2 which failed to install. random-1.0.0.1 depends on old-time-1.0.0.2 which failed to install. I ran into installation problems with old-time before. do not know how to solve that too. I guess I'll have to wait for ghc 6.12.2 to be launched.... Thanks! -- View this message in context: http://old.nabble.com/problems-installing-cabal-on-windows-tp27363309p273773... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
participants (3)
-
Daniel Fischer
-
Han Joosten
-
Neil Mitchell