[Hat] Problem building hat

Thomas Davie tatd2 at kent.ac.uk
Wed Jun 21 06:18:12 EDT 2006


On 21 Jun 2006, at 11:05, Malcolm Wallace wrote:

> Klaus Ostermann <ostermann at informatik.tu-darmstadt.de> wrote:
>
>> I am trying to build hat using ghc6.4.1 with windows/cygwin.
>> I also tried nhc, but with the same error.
>>
>> Warning: package(s) base not available (according to ghc-pkg)
>
> Interesting warning.
>
>> Can't find module lang in user directories
>>         .
>>         ../compiler98
>>   Or in installed libraries/packages at
>>
>
> The fact that no attempted location is reported for the standard
> installed libraries is worrying.  It suggests that ghc-pkg is being
> invoked incorrectly by hmake.  Another thing that looks wrong is  
> that of
> course there is no module 'lang' - it is a library package instead.

I have to admit seeing this error with ghc-6.5 on OS X... Simply  
removing the "-package lang" in the options worked for me - I assume  
the lang package is brought in by default now.

Bob


More information about the Hat mailing list