
Has anyone recently built Haddock on Windows? I'm invoking configure and make from Cygwin bash. Configure takes a couple of hours, and then make produces a load of errors (see below). If anyone has a ready-made .exe I'd be happy to use that. I just want to use Haddock, not modify it. Alistair. ---- output from make: [All appears ok up to this point] make[1]: Leaving directory `/cygdrive/h/haskell/haddock-0.6/glafp-utils' make[1]: Entering directory `/cygdrive/h/haskell/haddock-0.6/haddock' ------------------------------------------------------------------------ ===fptools== Recursively making `boot' in src html doc ... PWD = /cygdrive/h/haskell/haddock-0.6/haddock ------------------------------------------------------------------------ ------------------------------------------------------------------------ ==fptools== make boot - --unix -wr; in /cygdrive/h/haskell/haddock-0.6/haddock/src ------------------------------------------------------------------------ test: 504: unknown operand M -optdep-f -optdep.depend -osuf o -H16m -O -package data -package text -package util -package net -fglasgow-exts -cpp Binary.hs BlockTable.hs Digraph.lhs FastMutInt.hs HaddockDB.hs HaddockHH.hs HaddockHtml.hs HaddockLex.hs HaddockModuleTree.hs HaddockParse.hs HaddockRename.hs HaddockTypes.hs HaddockUtil.hs HaddockVersion.hs HsLexer.lhs HsParseMonad.lhs HsParseUtils.lhs HsParser.hs HsSyn.lhs Html.hs Main.hs M: not found make[2]: [depend] Error 127 (ignored) ------------------------------------------------------------------------ ==fptools== make boot - --unix -wr; in /cygdrive/h/haskell/haddock-0.6/haddock/html ------------------------------------------------------------------------ ------------------------------------------------------------------------ ==fptools== make boot - --unix -wr; in /cygdrive/h/haskell/haddock-0.6/haddock/doc ------------------------------------------------------------------------ ------------------------------------------------------------------------ ===fptools== Finished making `boot' in src html doc ... PWD = /cygdrive/h/haskell/haddock-0.6/haddock ------------------------------------------------------------------------ make[1]: Leaving directory `/cygdrive/h/haskell/haddock-0.6/haddock' make[1]: Entering directory `/cygdrive/h/haskell/haddock-0.6/haddock' ------------------------------------------------------------------------ ===fptools== Recursively making `all' in src html doc ... PWD = /cygdrive/h/haskell/haddock-0.6/haddock ------------------------------------------------------------------------ ------------------------------------------------------------------------ ==fptools== make all - --unix -wr; in /cygdrive/h/haskell/haddock-0.6/haddock/src ------------------------------------------------------------------------ test: 504: unknown operand make INSTALLING=0 BIN_DIST=0 - --unix - --no-print-directory -r all test: 504: unknown operand H16m -O -package data -package text -package util -package net -fglasgow-exts -cpp -c Binary.hs -o Binary.o -ohi Binary.hi H16m: not found make[3]: [Binary.o] Error 127 (ignored) H16m -O -package data -package text -package util -package net -fglasgow-exts -cpp -c BlockTable.hs -o BlockTable.o -ohi BlockTable.hi H16m: not found make[3]: [BlockTable.o] Error 127 (ignored) H16m -O -package data -package text -package util -package net -fglasgow-exts -cpp -c Digraph.lhs -o Digraph.o -ohi Digraph.hi H16m: not found make[3]: [Digraph.o] Error 127 (ignored) [and it continues like this for a while...] ----------------------------------------- ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. *****************************************************************

On Tuesday 16 March 2004 08:08 am, Bayley, Alistair wrote:
Has anyone recently built Haddock on Windows? I'm invoking configure and make from Cygwin bash. Configure takes a couple of hours, and then make produces a load of errors (see below).
It looks like configure can't find ghc at all. What does "which ghc" produce? Also, you'll probably need to modify the glafp-utils/Makefile so that it doesn't add lndir to SUBDIRS (there's an ifneq that never seems to work properly for me). This is also a problem when building alex under Windows (and probably happy, but I haven't done that). Cheers, Andy -- Andy Moran Ph. (503) 626 6616, x113 Galois Connections Inc. Fax. (503) 350 0833 12725 SW Millikan Way, Suite #290 http://www.galois.com Beaverton, OR 97005 moran@galois.com

Bayley, Alistair (Alistair_Bayley@ldn.invesco.com) wrote:
Has anyone recently built Haddock on Windows? I'm invoking configure and make from Cygwin bash. Configure takes a couple of hours, and then make produces a load of errors (see below).
I have 0.6 built with MinGW/MSYS on Win98.
If anyone has a ready-made .exe I'd be happy to use that. I just want to use Haddock, not modify it.
Pls. tell me if you want it via email. Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493
participants (3)
-
Andy Moran
-
Bayley, Alistair
-
Gour