[Hat] Hat installation problems

R Borgo rborgo at comp.leeds.ac.uk
Tue Feb 14 07:53:52 EST 2006


Hi all,

I am having a problem in trying to install Hat 2.04 on my PC,
I am installing Hat in a local directory so as configuration step I run
./configure  --prefix=/mylocaldir/

it works fine, it finds both ghc and hmake

then I run:
make

as first message I  receive an error regarding the
config file:
hat-2.04/lib/ix86-Linux/config:11: *** missing separator.  Stop.

I edit the config file and it looks like this:
GHCSYM=

604


line 11 is a space between "GHCSYM=" and "604"
so I delete the separating line and modify the file as
GHCSYM=604

after this the make command seems to proceed fine
since at some point it stops stating:

make[1]: Entering directory `/usr/rborgo/hat-2.04/src/hatlib'
/usr/rborgo/hat-2.04/script/hat-trans -P. -I. -trusted -prelude 
-D__GLASGOW_HASKELL__=  604 PreludeBuiltin.hs
Can't open 604
make[1]: *** 
[/usr/rborgo/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc/Hat/PreludeBuiltin.o] 
Error 1
make[1]: Leaving directory 
`/usr/rborgo/hat_no_patch/hat-2.04/src/hatlib'make: *** 
[targets/ix86-Linux/hat-lib-ghc] Error 2

I have succesfully installed hmake and I am running ghc 6.4, I am 
working under linux Fedora-RedHat,
what am I missing?
Thanks in advance for your help

Regards
Rita




More information about the Hat mailing list