Hello.

On Fri, 12 Sep 1997, Sven Panne wrote:

> After grabbing the 2.06 sources with happy-1.3 included, one has a classical
> hen-and-egg-problem: ghc-2.06 needs happy-1.3, but happy-1.3 needs ghc-2.06!
> 
> 
> ------------------------------------------------------------------------
> ==fptools== make boot;
>  in /mnt/liesl1/inst/panne/ghc-2.06-iX86-unknown-linux/happy/src
> ------------------------------------------------------------------------
> Making Version.hs version=1.3 
>template_dir=/mnt/liesl1/inst/panne/ghc-2.06-iX86-unknown-linux/happy/templates
> ../../ghc/driver/ghc -M -optdep-f -optdep.depend -optdep-o -optdepo -O -H32m -cpp 
>-fhaskell-1.3 -fglasgow-exts Version.hs GenUtils.lhs Set.lhs ParseMonad
> .lhs Lexer.lhs AbsSyn.lhs Grammar.lhs Parser.hs First.lhs LALR.lhs Target.lhs 
>ProduceCode.lhs Info.lhs GetOpt.lhs Main.lhs
> /bin/sh: ../../ghc/driver/ghc: No such file or directory
> make[2]: *** [depend] Error 127
> make[1]: *** [boot] Error 2
> make: *** [boot] Error 2
> 
> 
> To get ahead, I'm trying to hack fptools/happy/Makefile to use the same (=0.29)
> mkdependHS/ghc combo as the one used for compiling the ghc-2.06 compiler itself.
> Success/failure reports later...

Remove 'happy' from the ProjectsToBuild variable in your build.mk file. 
Then 'gmake boot'. Then reinsert 'happy'. Then again gmake boot. The same 
for 'gmake all'.

> Other small glitches:
> 
>    * fptools/configure is only readable/executable, so autoconf can't overwrite
>      it. Solution: "chmod +w fptools/configure" or even "rm fptools/configure"

You don't need to recreate fptools/configure.


mfG,
Volker Wysk

Reply via email to