[Haskell-cafe] Re: haddock installation weirdness?

David Leimbach leimy2k at gmail.com
Thu Feb 25 22:31:51 EST 2010


This might be heavy handed but I think I just got over this by clobbering my
.ghc directory and redoing cabal install haddock

Dave

On Thu, Feb 25, 2010 at 7:23 PM, David Leimbach <leimy2k at gmail.com> wrote:

> I'm on Mac OS X Snow Leopard, and can't get haddock installed due to the
> following error:
>
> Resolving dependencies...
> Configuring haddock-2.6.0...
> Warning: This package indirectly depends on multiple versions of the same
> package. This is highly likely to cause a compile failure.
> package haddock-2.6.0 requires Cabal-1.8.0.2
> package ghc-6.12.1 requires Cabal-1.8.0.2
> package bin-package-db-0.0.0.0 requires Cabal-1.8.0.2
> Preprocessing library haddock-2.6.0...
> Preprocessing executables for haddock-2.6.0...
> unused terminals: 1
> Building haddock-2.6.0...
> <command line>: cannot satisfy -package-id
> ghc-6.12.1-b691a185e99c62533666d9a28a9e1988:
>     ghc-6.12.1-b691a185e99c62533666d9a28a9e1988 is unusable due to missing
> or recursive dependencies:
>       Cabal-1.8.0.2-a08510b9460f1b65f9dee06ed53f0650
> bin-package-db-0.0.0.0-0c559ebe951f9972c4e6dfe5ebd4ce6a
>     (use -v for more information)
> cabal: Error: some packages failed to install:
> haddock-2.6.0 failed during the building phase. The exception was:
> ExitFailure 1
>
>
> When I do a "ghc-pkg list | grep Cabal" I get the following:
>
> ghc-pkg list | grep Cabal
>     Cabal-1.8.0.2
>     Cabal-1.8.0.2
>
> I'm wondering if this means I have a copy in my .cabal, and another from
> GHC,and if that could be causing a problem?
>
> I'm trying to work on the Haddock docs for the NineP package I uploaded the
> other day, and would rather not have to finish uploading before previewing
> the result :-)
>
> Dave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100225/71e6acec/attachment.html


More information about the Haskell-Cafe mailing list