I'm trying to build version 4.01 on a Linux pentium, using freshly
installed binary of 4.01, and I get this error message when running
a "gmake all"

------------------------------------------------------------------------
==fptools== gmake all --no-print-directory -r;
 in /home/kultarr/year4/mattl/ghc-4.01/ghc/lib/std
------------------------------------------------------------------------
rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else find
PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi ;    
../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing
-O -split-objs -odir PrelBase  -H10m -i.  -c PrelBase.lhs -o PrelBase.o
-osuf o
 
PrelBase.lhs:18: Could not find valid interface file `PrelErr'
 
PrelBase.lhs:18: Module `PrelErr' does not export `error'
 
PrelBase.lhs:19: Could not find valid interface file `PrelGHC'


It's complaining about not finding an interface file, but
I've got both PrelErr.hi-boot and I even compiled PrelErr.lhs to 
get the PrelErr.hi file. 

mattl@deckchair>
mattl@deckchair>pwd
/home/kidna/year4/mattl/source_tree/ghc/lib/std
mattl@deckchair>ls *hi*
Main.hi-boot           PrelException.hi-boot  PrelGHC.p_hi
PrelErr.hi             PrelGHC.hi             PrelPack.hi-boot
PrelErr.hi-boot        PrelGHC.hi-boot
mattl@deckchair>
mattl@deckchair>


Does this mean that the interface files are *invalid* ?

I was able to compile 4.00 with a little bit of fiddling around,
but this one has got me stumped

-- 
------
`Where do I want to go today? Poland, Czechoslovakia, France. 
 Can Microsoft Office do that for me?" - Adolf Hitler

Matthew Love
ADI Limited, Systems Group
Phone +61 8 9333 8936 (wk)
           +61 8 94495 702(hm)
mailto:[EMAIL PROTECTED]

Reply via email to