Another problem recompiling 2.07 with itself

1997-10-10 Thread Marcin Benke


This is not really a bug  in ghc itself, rather a problem with its
makefile system:

While trying to recompile 2.07 with itself I encountered the following
error:


==fptools== make all;
 in /.automount/kawa/export/linux/ben/Dlubanie/Build/fptools/ghc/lib

rm -f ghc/PrelBase.o ; if [ ! -d ghc/PrelBase ]; then mkdir ghc/PrelBase; else find 
ghc/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 ghc/PrelBase  -H12m  -c ghc/PrelBase.lhs -o ghc/PrelBase.o -osuf o
Can't locate ghc-split.prl in @INC at ../../ghc/driver/ghc line 2938.

Regards,
Marcin Benke



Re: Another problem recompiling 2.07 with itself

1997-10-10 Thread Simon Marlow

Marcin Benke [EMAIL PROTECTED] writes:

 
 ==fptools== make all;
  in /.automount/kawa/export/linux/ben/Dlubanie/Build/fptools/ghc/lib
 
 rm -f ghc/PrelBase.o ; if [ ! -d ghc/PrelBase ]; then mkdir ghc/PrelBase; else find 
ghc/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 ghc/PrelBase  -H12m  -c ghc/PrelBase.lhs -o ghc/PrelBase.o -osuf o
 Can't locate ghc-split.prl in @INC at ../../ghc/driver/ghc line 2938.

The build system has failed to find the canonical directory in which
your source tree lives, probably due to the automounter business.  If
you look in configure.in, you'll find some hacks we've put in the
there that solve the problem at Glasgow, but there doesn't seem to be
a general solution.

Workaround: set FPTOOLS_TOP_ABS explicitly in build.mk.

-- 
Simon Marlow [EMAIL PROTECTED]
University of Glasgow   http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key