
The reason that the package is not there I have discovered is that ghc-pkg register quits out because libHShat.a does not exist. Putting that in the appropriate place causes ghc-pkg register to work, but then you get errors because the hat-libs aren't in the right places. I'm not quite sure where the hat libs should be going. Bob On 3 Nov 2006, at 16:22, Malcolm Wallace wrote:
Thomas Davie
wrote: Something's up with hat-2.05 on my system. It hasn't installed its package correctly. ./configure, make, sudo make install reported no errors, but trying to build using 'hmake -hat' produces this error:
ghc-6.6: unknown package: hat
I don't know why the hat package is not installed on your system. But I did find some packaging errors that mean, even it hat was installed, it would not work with ghc-6.6.
Essentially, ghc now needs to know both the package name _and version_ when building the library, otherwise the linker gets confused and can't resolve names. I've pushed a fix to the darcs repo, and will probably re-roll the 2.05 distribution as well.
Regards, Malcolm _______________________________________________ Hat mailing list Hat@haskell.org http://www.haskell.org/mailman/listinfo/hat