Re: problems building hat-2.05 with ghc-6.4

Sebastian Fischer <[email protected]> Tue, 3 Apr 2007 14:02:04 +0200
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
On Apr 2, 2007, at 18:30 Uhr, Malcolm Wallace wrote:

> The easiest way to ensure Hat will build is to hide "util"
> again:
>     ghc-pkg-6.4 hide util-1.0

Although this didn't work, it was the essential hint that helped to  
fix the error. In src/hattools/Makefile there are the lines:

HMAKEFLAGS = -I. -I$(INCDIR) -fglasgow-exts -package lang -package  
util \
		 -DUSE_READLINE=1 $(BUILDOPTS) -prof -auto-all

If the parameter -package util is replaced by -package readline then  
make succeeds (at least on my system).

Regards,
Sebastian