[Hat] Hat install problem

Atze Dijkstra hat@haskell.org
Sun, 29 Sep 2002 21:09:41 +0200


Hello,

in trying to make hat work (on MacOSX 10.2.1) I consistently end up with:

strip /Volumes/Apps/Install/nhc/lib/powerpc-Darwin-6.1/hat-trans
touch targets/powerpc-Darwin-6.1/hat-trans-nhc
cd src/hat/lib;         make HC=nhc98 all install-nhc98
mkdir -p 
/Volumes/Apps/Install/nhc/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98 
|| /usr/bin/true
mkdir -p 
/Volumes/Apps/Install/nhc/lib/powerpc-Darwin-6.1/hatlib/nhc98 || 
/usr/bin/true
gcc -O -D__NHC__ -DVERSION="\"2.01\"" 
-I/Volumes/Apps/Install/nhc/include -c -o 
/Volumes/Apps/Install/nhc/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/hat.o 
hat.c
nhc98 +RTS -K12M -H64M -RTS   -cpp -c -o 
/Volumes/Apps/Install/nhc/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/TPreludeBuiltinTypes.o 
TPreludeBuiltinTypes.hs
I/O error (user-defined), call to function `userError':
   Can't open any of:
  ./Hat.hi
  /usr/local/include/nhc98/Hat.hi
  when trying to read Hat.

make[1]: *** 
[/Volumes/Apps/Install/nhc/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/TPreludeBuiltinTypes.o] 
Error 1
make: *** [targets/powerpc-Darwin-6.1/hat-lib-nhc] Error 2
[orff:Apps/Install/nhc] atze% find . -name Hat.hi -print
[orff:Apps/Install/nhc] atze%

That is, I downloaded hat-2.00 and cvs checked out nhc, configured 
for compiling with nhc98 (which did install ok), then 'make hat'.

can you help me out here?

thanks in advance,
-- 

                 - Atze -

Atze Dijkstra, Institute of Information & Computing Sciences,    /|\
Utrecht University, PO Box 80089, 3508 TB Utrecht, Netherlands  / | \
Tel.: +31-30-2534093/1454 | WWW  : http://www.cs.uu.nl/~atze   /--|  \
Fax : +31-30-2513971      | Email: atze@cs.uu.nl              /   |___\