Neil, Thanks for the quick response! I got haddock from its site ( http://haskell.org/haddock/#Download )using the link that says: "Windows: a binary distribution <http://haskell.org/haddock/dist/haddock-2.0.0.0-Win32.zip> is available, just unzip and go. " My configuration: C:\wks\haq>runhaskell Setup.lhs configure -v Configuring haq-0.0... Dependency base-any: using base-3.0.1.0 Using compiler: ghc-6.8.2 Using install prefix: C:\Program Files\Haskell Binaries installed in: C:\Program Files\Haskell\bin Libraries installed in: C:\Program Files\Haskell\haq-0.0\ghc-6.8.2 Private binaries installed in: C:\Program Files\Haskell\haq-0.0 Data files installed in: C:\Program Files\Haskell\haq-0.0 Documentation installed in: C:\Program Files\Haskell\doc\haq-0.0 No alex found Using ar found on system at: C:\usr\ghc-6.8.2\bin\ar.exe No c2hs found No cpphs found No ffihugs found Using ghc version 6.8.2 found on system at: C:\usr\ghc-6.8.2\bin\ghc.exe Using ghc-pkg version 6.8.2 found on system at: C:\usr\ghc-6.8.2\bin\ghc-pkg.exe No greencard found Using haddock version 2.0.0.0 found on system at: C:\usr\haddock\haddock.exe No happy found No hmake found Using hsc2hs version 0.66-ghc found on system at: C:\usr\ghc-6.8.2\bin\hsc2hs.ex e No hscolour found No hugs found No jhc found Using ld found on system at: C:\usr\ghc-6.8.2\gcc-lib\ld.exe No nhc98 found No pfesetup found No pkg-config found No ranlib found No tar found On Wed, Jul 16, 2008 at 4:45 PM, Neil Mitchell <ndmitchell@gmail.com> wrote:
Hi Dmitri,
How did you obtain Haddock 2.0? Did you download it off hackage and install it, using the standard cabal bits?
Can you also do runhaskell Setup configure -v, so we can see which Haddock Cabal is attempting to use.
Thanks
Neil
C:\wks\haq>runhaskell Setup.lhs haddock --executables Preprocessing executables for haq-0.0... Running Haddock for haq-0.0... Preprocessing executables for haq-0.0... Warning: Cannot read C:/usr/ghc-6.8.2/doc/libraries/base\base.haddock: "Magic number mismatch: couldn't load interface file: C:/usr/ghc-6.8.2/doc/li braries/base\\base.haddock" Skipping this interface. Warning: main:Main: could not find link destinations for: GHC.IOBase.IO haddock: internal Haddock or GHC error: c:/builds/haddock-2/install\haddock-2.0. 0.0/html/haddock.css: openFile: does not exist (No such file or directory)
Any ideas how to solve this? Thanks!
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Dmitri O. Kondratiev dokondr@gmail.com http://www.geocities.com/dkondr