[Haskell-cafe] Dependency issues with GHC 6.12.2 installing parsec and others

Ralph Hodgson rhodgson at topquadrant.com
Wed Jun 2 05:14:46 EDT 2010


I decided to remove everything and start again with the Haskell Platform. I am back up and running enough to make progress.

-----Original Message-----
From: haskell-cafe-bounces at haskell.org [mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Ralph Hodgson
Sent: Tuesday, June 01, 2010 4:34 PM
To: daniel.is.fischer at web.de; haskell-cafe at haskell.org
Subject: RE: [Haskell-cafe] Dependency issues with GHC 6.12.2 installing parsec and others

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?

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list