Re: Hat install problem

Atze Dijkstra <[email protected]>
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <p05111a03b9be3c21ca62@[192.168.1.21]>
At 14:11 +0100 30/09/2002, Malcolm Wallace wrote:
>Atze Dijkstra <[email protected]> writes:
>
>>  I tried your above suggestion, but it fails at the same spot. It
>>  looks as if Hat.hs is not compiled (perhaps an absent make
>>  dependency?), Hat.hs is present in the src tree.
>
>Well, the relevant Makefile (in src/hat/lib) contains the following
>dependency line:
>
>     $(OBJDIR)/TPreludeBuiltinTypes.o: $(OBJDIR)/Hat.o
>
>and it is clear that, on Jaguar, the make program is trying to build
>TPreludeBuiltinTypes.o before Hat.o.  This suggests a bug in your
>version of make.

Hmn, I found an already made 'hat.o'. The MacOSX HFS+ file system is 
(sometimes) case insignificant. Make (which is gnumake) somehow is 
insensitive to case is my guess (which is not contradicted, but 
confirmed by the output of make -d). I will try finding some info on 
the apple developer site about this, or submit a bugreport. This 
problem pops up sometimes.

>
>Try using the make -d option for lots of debugging information about
>what files and timestamps are being compared.  You might also try
>the -r option to eliminate built-in default rules.

The output tells it is pruning Hat.o (I guess as a prerequite):

        Finished prerequisites of target file `TPreludeBuiltinTypes.hs'.
       No need to remake target `TPreludeBuiltinTypes.hs'.
       Pruning file 
`/Volumes/Apps/Install/hat-2.00/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/Hat.o'.
      Finished prerequisites of target file 
`/Volumes/Apps/Install/hat-2.00/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/TPreludeBuiltinTypes.o'.
     Must remake target 
`/Volumes/Apps/Install/hat-2.00/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/TPreludeBuiltinTypes.o'.
nhc98 +RTS -K12M -H64M -RTS   -cpp -c -o 
/Volumes/Apps/Install/hat-2.00/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/TPreludeBuiltinTypes.o 
TPreludeBuiltinTypes.hs
Got a SIGCHLD; 1 unreaped children.

Make concludes Hat.o exists on the basis of hat.o's existence. I did 
'fix' it by manually compiling Hat.hs.

now the build stops with an internal error:

/Volumes/Apps/Install/hat-2.00/script/hat-trans -trusted -prelude 
PreludeBasic.hs
Wrote TPreludeBasic.hs
nhc98 +RTS -K12M -H64M -RTS   -cpp -c -o 
/Volumes/Apps/Install/hat-2.00/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/TPreludeBasic.o 
TPreludeBasic.hs
Fatal internal error:  StringTable data allocated too high in address space!
gcc: /tmp/TPreludeBasic.21196.s: No such file or directory
gcc: no input files
rm: /tmp/TPreludeBasic.21196.s: No such file or directory
make[1]: *** 
[/Volumes/Apps/Install/hat-2.00/targets/powerpc-Darwin-6.1/obj/hatlib/nhc98/TPreludeBasic.o] 
Error 1
make: *** [targets/powerpc-Darwin-6.1/hat-lib-nhc] Error 2
[orff:Apps/Install/hat-2.00] atze%


cheers,
-- 

                 - 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: [email protected]              /   |___\
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.