Can't load into GHCi files which use Template Haskell splices

Simon Marlow simonmar at microsoft.com
Wed Feb 25 10:26:31 EST 2004


 
> Simon Peyton-Jones wrote:
> > Fixed (in the HEAD).   I believe. George, can you try it?
> 
> Sorry, but I can't, because when I try to build the sources 
> (HEAD, downloaded
> this morning), I get the following error:
> 
> ==fptools== gmake install -wr;
>   in /local/home/ger/bleeding-edge/fptools/ghc/compiler
> --------------------------------------------------------------
> ----------
> ../../ghc/compiler/stage1/ghc-inplace -H16m -O  
> -istage2/utils  -istage2/basicTypes  -istage2/types  
> -istage2/hsSyn  -istage2/prelude  -istage2/rename  
> -istage2/typecheck  -istage2/deSugar  -istage2/coreSyn  
> -istage2/specialise  -istage2/simplCore  -istage2/stranal  
> -istage2/stgSyn  -istage2/simplStg  -istage2/codeGen  
> -istage2/absCSyn  -istage2/main  -istage2/profiling  
> -istage2/parser  -istage2/cprAnalysis  -istage2/compMan  
> -istage2/ndpFlatten  -istage2/cbits  -istage2/iface  
> -istage2/nativeGen  -istage2/ghci -DGHCI -package 
> template-haskell -package unix -package readline  -cpp 
> -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen 
> -Iparser -recomp -Rghc-timing  -H16M '-#include "hschooks.h"' 
>    -c absCSyn/AbsCSyn.lhs -o stage2/absCSyn/AbsCSyn.o  -ohi 
> stage2/absCSyn/AbsCSyn.hi
> ghc-6.3: error: directory portion of 
> "stage2/absCSyn/AbsCSyn.o" does not exist (used with "-o" option.)
> <<ghc: 3758708 bytes, 2 GCs, 56912/56912 avg/max bytes 
> residency (1 samples), 5M in use, 0.00 INIT (0.00 elapsed), 
> 0.00 MUT (0.02 elapsed), 0.01 GC (0.01 elapsed) :ghc>>
> gmake[2]: *** [stage2/absCSyn/AbsCSyn.o] Error 1
> gmake[1]: *** [install] Error 1
> gmake[1]: Leaving directory `/local/home/ger/bleeding-edge/fptools/ghc

You just did a 'make' from the top level?  This error looks like there
has been a missing 'make boot stage=2' somewhere, which is supposed to
be done as part of the normal top-level make process.

Cheers,
	Simon


More information about the Cvs-ghc mailing list