Re: Problem building hat

Thomas Davie <[email protected]> Wed, 21 Jun 2006 11:18:12 +0100
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
On 21 Jun 2006, at 11:05, Malcolm Wallace wrote:

> Klaus Ostermann <[email protected]> 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