Problem building hat with GHC 5.04

Kirsten Chevalier <[email protected]>
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
I'm getting the following error when trying to compile hat using GHC 5.04
on a machine running RedHat Linux 7.3:

# make
cd src/compiler98;     make HC=ghc hat-trans
make[1]: Entering directory `/tmp/hat-2.00/src/compiler98'
hmake -ghc  +CTS -package lang -CTS    -d /tmp/hat-2.00/targets/ix86-Linux/obj/compiler98 HatTrans

Fail: Can't find module IO in
	.
  Or in standard libraries at
	/usr/lib/ghc-5.02.3/imports/std
	/usr/lib/ghc-5.02.3/imports/lang
	/usr/lib/ghc-5.02.3/imports/concurrent
	/usr/lib/ghc-5.02.3/imports/data
	/usr/lib/ghc-5.02.3/imports/net
	/usr/lib/ghc-5.02.3/imports/posix
	/usr/lib/ghc-5.02.3/imports/text
	/usr/lib/ghc-5.02.3/imports/util
	/usr/lib/ghc-5.02.3/imports/hssource
	/usr/lib/ghc-5.02.3/imports/greencard
	/usr/lib/ghc-5.02.3/imports/xlib
	/usr/lib/ghc-5.02.3/imports/HGL
	/usr/lib/c2hs-0.10.11/ghc5/import
	/usr/lib/gtk+hs-0.14.8/ghc5/import/glib
	/usr/lib/gtk+hs-0.14.8/ghc5/import/gdk
	/usr/lib/gtk+hs-0.14.8/ghc5/import/gtk
	/usr/lib/gtk2hs/hi
	/usr/lib/hi
  Asked for by: HatTrans.hs
[Check settings of -I or -P flags?]

Stop - hmake dependency error.
make[1]: *** [/tmp/hat-2.00/lib/ix86-Linux/hat-trans] Error 1
make[1]: Leaving directory `/tmp/hat-2.00/src/compiler98'
make: *** [targets/ix86-Linux/hat-trans-ghc] Error 2

It seems to be looking for the GHC 5.02.3 libraries, but I have GHC 5.04
installed. I know the system requirements say that Hat can't interoperate
with 5.04, but does it not work to compile Hat as well?

Thanks,
Kirsten

-- 
Kirsten Chevalier * [email protected] * Often in error, never in doubt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.