Re: problems building hat-2.05 with ghc-6.4
Malcolm Wallace <[email protected]> Mon, 2 Apr 2007 17:30:16 +0100
| Newsgroups | gmane.comp.lang.haskell.hat |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
Sebastian Fischer <[email protected]> wrote: > trying to build hat-2.05 with ghc-6.4 I get the following error > during make: > > Observe.hs:1:0: > Module `Observe' is a member of package util-1.0. > To compile this module, please use -ignore-package util-1.0. I am guessing that this occurs when attempting to build the module src/hattools/Observe.hs. Usually, the "util" package is hidden by default in ghc-6.4. Perhaps at some point you have exposed it using ghc-pkg. The easiest way to ensure Hat will build is to hide "util" again: ghc-pkg-6.4 hide util-1.0 > After rerunning the configure script with > --buildopts="-ignore-package util-1.0" ... and remove this option from the Hat configuration. As you inferred, the -ignore-package option is not being parsed correctly by Hat's build system. (You may need to delete targets/powerpc-darwin/config.cache, then re-run configure, to get rid of the option.) Regards, Malcolm