[Haddock] error: utils/haddock_dist_PROGNAME is not set

Rob Stewart robstewart57 at gmail.com
Sun Mar 24 13:35:20 GMT 2013


Hi,

I am not able to build ghc 7.6 from source, and come across an error
in utils/haddock/ghc.mk

$ cd ghc
$ ./sync-all -r http://darcs.haskell.org --extra get -b ghc-7.6
$ ./sync-all -r http://darcs.haskell.org --extra get # get
libraries/parallel and libraries/xhtml
$ perl boot
$ ./configure --prefix=/home/foo/bar/
$ make
+ test -f mk/config.mk.old
+ cp -p mk/config.mk mk/config.mk.old
touch -r mk/config.mk.old mk/config.mk
+ test -f mk/project.mk.old
+ cp -p mk/project.mk mk/project.mk.old
touch -r mk/project.mk.old mk/project.mk
+ test -f compiler/ghc.cabal.old
+ cp -p compiler/ghc.cabal compiler/ghc.cabal.old
touch -r compiler/ghc.cabal.old compiler/ghc.cabal
===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/package-data.mk: No
such file or directory
libraries/Cabal/Cabal/ghc.mk:3:
libraries/Cabal/Cabal/dist-boot/package-data.mk: No such file or
directory
libraries/bin-package-db/ghc.mk:3:
libraries/bin-package-db/dist-boot/package-data.mk: No such file or
directory
libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-boot/package-data.mk:
No such file or directory
libraries/transformers/ghc.mk:3:
libraries/transformers/dist-boot/package-data.mk: No such file or
directory
libraries/terminfo/ghc.mk:3:
libraries/terminfo/dist-boot/package-data.mk: No such file or
directory
utils/haddock/ghc.mk:28: *** utils/haddock_dist_PROGNAME is not set.  Stop.

--
Rob



More information about the Haddock mailing list