Re: Hat hasn't installed properly

Thomas Davie <[email protected]> Fri, 3 Nov 2006 16:43:47 +0000
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
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 <[email protected]> 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
> [email protected]
> http://www.haskell.org/mailman/listinfo/hat