[Haskell-cafe] How to install haddock with ghc-7.2.1?

Paulo Pocinho pocinho at gmail.com
Thu Oct 6 15:20:44 CEST 2011

Hi list. Installing haddock fails with ghc-7.2.1.
How do I get to install it along with all dependencies?

C:\>cabal install haddock
Resolving dependencies...
Downloading ghc-paths-
[1 of 1] Compiling Main             (
\setup\Main.o )
Linking C:\Users\user\AppData\Local\Temp\ghc-paths-\ghc-paths-\dist\setup\setup.exe
Configuring ghc-paths-
Building ghc-paths-
Preprocessing library ghc-paths-
[1 of 1] Compiling GHC.Paths        ( GHC\Paths.hs, dist\build\GHC\Paths.o )
Registering ghc-paths-
Installing library in
Registering ghc-paths-
Downloading xhtml-3000.2.0.4...
Configuring xhtml-3000.2.0.4...
Preprocessing library xhtml-3000.2.0.4...
Building xhtml-3000.2.0.4...
[ 1 of 15] Compiling Text.XHtml.BlockTable ( Text\XHtml\BlockTable.hs,
dist\build\Text\XHtml\BlockTable.o )

Implicit import declaration:
    base:Prelude can't be safely imported! The package (base) the
module resides in isn't trusted.
cabal: Error: some packages failed to install:
haddock-2.9.4 depends on xhtml-3000.2.0.4 which failed to install.
xhtml-3000.2.0.4 failed during the building phase. The exception was:
ExitFailure 1

More information about the Haskell-Cafe mailing list