[Haskell-cafe] Dependency issues with GHC 6.12.2 installing
parsec and others
Ralph Hodgson
rhodgson at topquadrant.com
Tue Jun 1 19:34:07 EDT 2010
Thanks Daniel, I will give it a try
I just did some work on the MAC to verify that everything worked there. And all is well with MAC GHC 6.12.1
-----Original Message-----
From: daniel.is.fischer at web.de [mailto:daniel.is.fischer at web.de]
Sent: Tuesday, June 01, 2010 2:03 PM
To: haskell-cafe at haskell.org; rhodgson at topquadrant.com
Subject: Re: [Haskell-cafe] Dependency issues with GHC 6.12.2 installing parsec and others
On Tuesday 01 June 2010 22:31:21, Ralph Hodgson wrote:
> "base-3.0.3.2-b2241f4c659fe250ebb821a4173f40c9" doesn't exist (use
> --force to override)
>
You probably have a package.conf from the previous GHC still lying around.
If your new GHC is in the system space, it'll probably be enough to remove
all package.conf files from the user space, if your new GHC lives in user
space, remove all package.conf files from the user space *except the one
ghc-6.12.2 created* (that's the one containing the package ghc-6.12.2).
>
>
> Having installed GHC 6.12.2, I am hitting these problems with every
> package I tried to install:
>
>
>
> C:\Users\Ralph>cabal install parsec
>
> Resolving dependencies...
>
> Configuring parsec-2.1.0.1...
>
> Preprocessing library parsec-2.1.0.1...
>
> Building parsec-2.1.0.1...
>
> [ 1 of 10] Compiling Text.ParserCombinators.Parsec.Pos (
> Text\ParserCombinators\
>
> Parsec\Pos.hs, dist\build\Text\ParserCombinators\Parsec\Pos.o )
>
>
>
> [snip]
>
>
>
> [ 9 of 10] Compiling Text.ParserCombinators.Parsec.Perm (
> Text\ParserCombinators
>
> \Parsec\Perm.hs, dist\build\Text\ParserCombinators\Parsec\Perm.o )
>
>
>
> Text\ParserCombinators\Parsec\Perm.hs:1:0:
>
> Warning: Module `Prelude' is deprecated:
>
> You are using the old package `base' version 3.x.
>
> Future GHC versions will not support base version 3.x.
> You
>
> should update your code to use the new base version 4.x.
>
> [10 of 10] Compiling Text.ParserCombinators.Parsec.Language (
> Text\ParserCombina
>
> tors\Parsec\Language.hs,
> dist\build\Text\ParserCombinators\Parsec\Language.o )
>
>
>
> Text\ParserCombinators\Parsec\Language.hs:1:0:
>
> Warning: Module `Prelude' is deprecated:
>
> You are using the old package `base' version 3.x.
>
> Future GHC versions will not support base version 3.x.
> You
>
> should update your code to use the new base version 4.x.
>
> Registering parsec-2.1.0.1...
>
> Installing library in
>
> C:\Users\Ralph\AppData\Roaming\cabal\parsec-2.1.0.1\ghc-6.12.2
>
> Registering parsec-2.1.0.1...
>
> cabal: parsec-2.1.0.1: dependency
>
> "base-3.0.3.2-b2241f4c659fe250ebb821a4173f40c9" doesn't exist (use
> --force to
>
> override)
>
> cabal: Error: some packages failed to install:
>
> parsec-2.1.0.1 failed during the final install step. The exception was:
>
> exit: ExitFailure 1
>
>
>
> I wonder what to do next?
More information about the Haskell-Cafe
mailing list