Skip to content

validate requires haddock to be installed

A validate of a recent GHC HEAD on a machine that didn't have haddock installed ended with the report:

if ifBuildable/ifBuildable ghc-prim; then \
  cd ghc-prim && setup/Setup haddock --html-location='../$pkg' \
                               ; \
fi
Setup: haddock version >=0.6 is required but it could not be found.
make[1]: *** [doc.library.ghc-prim] Error 1
make[1]: Leaving directory `/usr/home/tn/tn/GHCDarcsRepository/ghc-HEAD-complete-20080503_0226/ghc/libraries'
make: *** [stage1] Error 2

This requirement is not mentioned on http://hackage.haskell.org/trac/ghc/wiki/Building/Prerequisites and ought, if kept, to be checked and reported in the initial configure phase.

Best regards Thorkil

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information