Hello,
please excuse me for the (maybe) stupid question:
I have some problems with the new library build system. I am used to
work on GHC-HEAD versions, but my latest update was in January, and
since April, I cannot build HEAD any more, and do not have a clue.
Today, I have again tried to straight-forwardly build a HEAD ghc
version, with corelibs only, from a freshly checked out source tree.
As in previous attempts, the build fails with a "cannot find haddock",
which I cannot explain... of course I do not have haddock, but this is
intentional; I do not want to build any documentation. And configure
correctly detected that haddock is not present.
The last lines of (sh boot; ./configure; make) are:
Reading parameters from
/export/tmp/berthold/BLD.plain.darcs/libraries/unix/unix.buildinfo
Preprocessing library unix-2.0...
Building unix-2.0...
ifBuildable/ifBuildable unix setup/Setup register --inplace
Reading package info from ".inplace-pkg-config" ... done.
Saving old package config file... done.
Writing new package config file... done.
Reading parameters from
/export/tmp/berthold/BLD.plain.darcs/libraries/unix/unix.buildinfo
Registering unix-2.0...
ifBuildable/ifBuildable base setup/Setup haddock
Preprocessing library base-2.1...
Running Haddock for base-2.1...
Setup: haddockVersion: cannot find haddock
make[1]: *** [doc.library.base] Error 1
make[1]: Leaving directory `/export/tmp/berthold/BLD.plain.darcs/libraries'
make: *** [stage1] Error 2
I have looked at ifBuildable.hs and Setup.hs, without getting a clue how
to switch off the haddock phase.
ifBuildable checks for buildable packages and complains if core packages
are not; and Setup is part of Cabal, calling quite a few internal
functions which I don't know. None of these files mentions haddock.
The libraries/Makefile contains some parts depending on NO_HADDOCK_DOCS,
so I set this to "YES" in mk/build.mk, but with no effect.
Any suggestions? Thank you.
Jost Berthold
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc