[nhc-bugs] a problem with 1.12

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Tue, 19 Mar 2002 11:49:53 +0000


Feliks Kluzniak <feliks@crt.se> writes:

> 	/q/pd/nhc/nhc98-1.12/targets/sparc-solaris2/obj/hattools/hatlib.a
> 	-d/q/pd/nhc/nhc98-1.12/targets/sparc-solaris2/obj/hattools 
> 	-lsocket -lnsl
> 
> Fail: Can't find module FFI in
> 	.
>   Or in standard libraries at
> 	
>   Asked for by: HatTrace.gc

This looks like hmake has not been configured correctly.  First, check
that the file  lib/sparc-solaris2/hmakerc  exists.  If it does, then
there should be a section in it corresponding to this:

CompilerConfig
      { compilerStyle = nhc98
      , compilerPath = "/q/pd/nhc/nhc98-1.12/script/nhc98"
      , compilerVersion = "v1.12"
      , includePaths = ["/q/pd/nhc/nhc98-1.12/include"]
      , cppSymbols = ["__NHC__"]
      , extraCompilerFlags = []
      , isHaskell98 = True
      }

If any of this is missing, then there has been a problem during
configuration.

Regards,
    Malcolm