Re: Compiling nhc98-1.0pre7 with ghc



About this list Date view Thread view Subject view Author view

Jose Romildo Malaquias (romildo@urano.iceb.ufop.br)
Thu, 5 Aug 1999 11:34:00 -0300


On Thu, Aug 05, 1999 at 03:19:12PM +0100, malcolm-nhc@cs.york.ac.uk wrote: > > /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 No. I -have- configured hmake to know where ghc is stored, following the instructions. I confirmed looking at lib/hmake.config and it is set up as you stated above. (See the patch I have attached.) Nontheles the IO module was not found as I have reported to you. I have also checked and the directory is correct: /usr/lib/ghc-4.04/imports/std/IO.hi. So I do not know what may be going wrong... Any more clues? Thanks. Romildo -------------------------------------------------------------------- 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