
hi all, after running configure on the latest release of hat, 'make' gives me:
/export/home/yang/tmp/pkg/hat-2.04/lib/ix86-Linux/config:11: *** missing separator. Stop.
that config file contains:
BUILDWITH=ghc BUILDOPTS="" INSTALLVER="2.04" INSTALLINFO="config: ix86-Linux/ by yang@harvard.csail.mit.edu on 1 Oct 2006" BUILDBASEDIR=/home/yang/tmp/pkg/hat-2.04/targets LIBCOMPAT="" EXE= CC=gcc GHCSYM=
604 TRUE=/bin/true GLIB=glib
i thought maybe the whitespace before 604 needed to be removed. doing that, 'make' continues fine, until...
... ghc -package-name hat -fglasgow-exts -package base -package parsec -package mtl -fno-warn-overlapping-patterns -fno-warn-missing-methods -fno-warn-duplicate-exports -i/home/yang/tmp/pkg/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc -I. -I/export/home/yang/tmp/pkg/hat-2.04/include '-#include "hat-c.h"' -cpp -c -o /home/yang/tmp/pkg/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc/Hat/Hack.o Hat/Hack.hs mv Hat/Hack.hi /home/yang/tmp/pkg/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc/Hat/Hack.hi ghc -package-name hat -fglasgow-exts -package base -package parsec -package mtl -fno-warn-overlapping-patterns -fno-warn-missing-methods -fno-warn-duplicate-exports -i/home/yang/tmp/pkg/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc -I. -I/export/home/yang/tmp/pkg/hat-2.04/include '-#include "hat-c.h"' -cpp -c -o /home/yang/tmp/pkg/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc/Hat/PreludeBuiltinTypes.o Hat/PreludeBuiltinTypes.hs mv Hat/PreludeBuiltinTypes.hi /home/yang/tmp/pkg/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc/Hat/PreludeBuiltinTypes.hi /export/home/yang/tmp/pkg/hat-2.04/script/hat-trans -P. -I. -trusted -prelude -D__GLASGOW_HASKELL__= 604 PreludeBuiltin.hs Can't open 604 make[1]: *** [/home/yang/tmp/pkg/hat-2.04/targets/ix86-Linux/obj/hatlib/ghc/Hat/PreludeBuiltin.o] Error 1 make[1]: Leaving directory `/export/home/yang/tmp/pkg/hat-2.04/src/hatlib' make: *** [targets/ix86-Linux/hat-lib-ghc] Error 2
how do i fix this build problem? i read this thread: http://www.haskell.org/pipermail/hat/2006-February/000256.html but that patch was already applied in the release i downloaded. thanks in advance for any help.