Re: Compiling nhc98-1.0pre7 with ghc



About this list Date view Thread view Subject view Author view

malcolm-nhc@cs.york.ac.uk
Thu, 5 Aug 1999 15:19:12 +0100


> /var/tmp/nhc98-1.0pre7/script/hmake -ghc -H32M -d /var/tmp/nhc98-1.0pre7/targets/ix86-Linux/obj/compiler98 Main > > Fail: failed > Reason: Can't find module IO > Check -P and -I flags. Yes, you have not configured hmake to know where ghc is stored. From the installation instructions: Important: The config script no longer configures _hmake_ for use with other Haskell compilers. If nhc98 is the only compiler you've got, then there's nothing to worry about. If however you have _hbc_ or _ghc_ and would like to use _hmake_ with those compilers, please follow these instructions. Before running _nhc98config_ with either of the --build or --install options, you must edit the file script/hmakeconfig.inst. You are likely to need to change either or both of the definitions for LMLDIR and GHCINCDIR. (_nhc98config_ copies script/hmakeconfig.inst to lib/hmake.config, so you should now edit *both* of these files.) The definition to edit is: GHCINCDIR=${GHCINCDIR-/usr/local/lib/ghc-4.02/lib/imports} changing it to: GHCINCDIR=${GHCINCDIR-/usr/lib/ghc-4.04/imports} for your setup. Regards, Malcolm -------------------------------------------------------------------- To unsubscribe, send a message containing the word `unsubscribe' to: nhc-users-request@cs.york.ac.uk --------------------------------------------------------------------


About this list Date view Thread view Subject view Author view