
Peter Simons wrote:
The CVS version of the libraries tree comes with all kinds of neat and dangerously unstable code I'd like to use, particularly the "arrows" subdirectory. Now I wonder: Is there some "build.mk" magic I could perform to tell GHC to build these libraries as part of my normal build? So that I get them (and the documentation) installed automatically when I rebuild GHC? [...]
No, there isn't, but modifying libraries/Makefile should be easy (see the SUBDIRS handling there). I'm not sure about the current status of the arrows package. Ross?
==fptools== make all -wr; in /usr/local/src/ghc-current/happy/doc ------------------------------------------------------------------------ rm -f -rf happy/ /usr/bin/xsltproc --stringparam base.dir happy/ \ --stringparam use.id.as.filename 1 \ --stringparam html.stylesheet fptools.css \ --stringparam toc.section.depth 3 --stringparam section.autolabel 1 \ --stringparam section.label.includes.component.label 1 \ /html/chunk.xsl happy.xml warning: failed to load external entity "/html/chunk.xsl" cannot parse /html/chunk.xsl make[2]: *** [happy/index.html] Error 4 make[1]: *** [all] Error 1 make[1]: Leaving directory `/usr/local/src/ghc-current/happy' make: *** [/usr/local/src/ghc-current/happy/src/happy-inplace] Error 2 make: *** Deleting file `/usr/local/src/ghc-current/happy/src/happy-inplace'
Looks like there is a definition path missing somewhere.
It looks like configure hasn't found a DocBook XSL directory on your machine. Could you provide us with a little bit more information, please (log of the configure run, config.log, platform, ...)? What's a little bit funny is that "make all" is trying to build documentation, this is normally not the case. What's in your build.mk? Cheers, S.