
On Mon, Oct 12, 2009 at 6:43 PM, Christian Maeder
Hi,
with http://darcs.haskell.org/~ghc/dist/6.12.1rc1/ghc-6.12.0.20091010-i386-unknow... installed (under /local/maeder/) I get the following "internal Haddock or GHC error". I have no file /local/maeder/lib/ghc-6.12.0.20091010/html/haddock.css but a file /local/maeder/share/doc/ghc/html/html/haddock.css
I've the same problem, it seems that haddock's data-files are not installed anywhere by ghc's build system, even if they are present in the tarball under utils/haddock. /local/maeder/share/doc/ghc/html/html/haddock.css seems to be the .css for the main documentation index, i don't think it makes sense for haddock to take the default files from there. A workaround could be a separate installation of haddock (assuming it'll look for the files where cabal will install them), but i couldn't find a ghc-paths updated for 6.12.
and I run: ./Setup configure -O --prefix=/local/maeder ./Setup build ./Setup haddock ./Setup install
Cheers Christian
P.S. I wonder why "Registering" is done twice
Configuring packedstring-0.1.0.1... Preprocessing library packedstring-0.1.0.1... Building packedstring-0.1.0.1... [1 of 1] Compiling Data.PackedString ( Data/PackedString.hs, dist/build/Data/PackedString.o )
Registering packedstring-0.1.0.1...
Running Haddock for packedstring-0.1.0.1...
Preprocessing library packedstring-0.1.0.1...
Warning: The documentation for the following packages are not installed. No links will be generated to these packages: ffi-1.0, rts-1.0
haddock: internal Haddock or GHC error: /local/maeder//lib/ghc-6.12.0.20091010/html/haddock.css: openFile: does not exist (No such file or directory) Installing library in
/local/maeder/lib/packedstring-0.1.0.1/ghc-6.12.0.20091010
Registering packedstring-0.1.0.1...
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users