
Hallo, I'm using Haskell Platform 2010.2.0.0 on a Windows XP machine. This haskell platform includes cabal-1.8.0.6. Now I want to update cabal by "cabal install cabal". Installation works well. Call like "runhaskell ./Setup.hs" will use the updatetd cabal-1.10.0.0. But "cabal --version" says still 1.8.0.6 and I have to re-configure. How I update cabal in my current Haskel Platform? Thanks Klaus

On Thu, Mar 10, 2011 at 11:27 AM, Hauschild, Klaus (EXT)
Hallo,
I'm using Haskell Platform 2010.2.0.0 on a Windows XP machine. This haskell platform includes cabal-1.8.0.6. Now I want to update cabal by "cabal install cabal". Installation works well. Call like "runhaskell ./Setup.hs" will use the updatetd cabal-1.10.0.0. But "cabal --version" says still 1.8.0.6 and I have to re-configure.
How I update cabal in my current Haskel Platform?
cabal install cabal-install will not install the latest version of cabal-install due to a setting on Hackage (i.e. Duncan probably want to wait before automatically changing everyone over). You need to give the exact version: cabal install cabal-install-0.10.2 Johan

Hi Johan,
Thank you for the tip. After a tiny manupulation at my PATH variable it works.
-----Ursprüngliche Nachricht-----
Von: Johan Tibell [mailto:johan.tibell@gmail.com]
Gesendet: Donnerstag, 10. März 2011 11:39
An: Hauschild, Klaus (EXT)
Cc: haskell-cafe@haskell.org
Betreff: Re: [Haskell-cafe] Update Cabal
On Thu, Mar 10, 2011 at 11:27 AM, Hauschild, Klaus (EXT)
Hallo,
I'm using Haskell Platform 2010.2.0.0 on a Windows XP machine. This haskell platform includes cabal-1.8.0.6. Now I want to update cabal by "cabal install cabal". Installation works well. Call like "runhaskell ./Setup.hs" will use the updatetd cabal-1.10.0.0. But "cabal --version" says still 1.8.0.6 and I have to re-configure.
How I update cabal in my current Haskel Platform?
cabal install cabal-install will not install the latest version of cabal-install due to a setting on Hackage (i.e. Duncan probably want to wait before automatically changing everyone over). You need to give the exact version: cabal install cabal-install-0.10.2 Johan

What are the arguments for updating? Are you using ghc-7.0.2? Wait for Haskell Platform 2011.2.0.0 that will be based on cabal-install-0.10.2! Cheers Christian Am 10.03.2011 11:27, schrieb Hauschild, Klaus (EXT):
Hallo,
I'm using Haskell Platform 2010.2.0.0 on a Windows XP machine. This haskell platform includes cabal-1.8.0.6. Now I want to update cabal by "cabal install cabal". Installation works well. Call like "runhaskell ./Setup.hs" will use the updatetd cabal-1.10.0.0. But "cabal --version" says still 1.8.0.6 and I have to re-configure.
How I update cabal in my current Haskel Platform?
Thanks
Klaus
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Christian Maeder
-
Hauschild, Klaus (EXT)
-
Johan Tibell