Skip to content

Haddock not installed properly

I built GHC Head, took a bindist, moved that to a different machine, and tried the included haddock on a test file:

C:\ghc>c:\ghc\ghc-6.9.20080916\bin\haddock.exe Test.hs --html --hoogle
Warning: main:Test: could not find link destinations for:
    GHC.Types.Int
haddock: internal Haddock or GHC error: c:\ghc\ghc-6.9.20080916\bin\..\share/htm
l/haddock.css: openFile: does not exist (No such file or directory)

haddock.css is actually located at c:\ghc\ghc-6.9.20080916\html\haddock.css (i.e. get rid of the share).

-- Neil

Trac metadata
Trac field Value
Version 6.9
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