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...
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"
* Happy searches the *buildtree* for its templates. Excerpt from
fptools/happy/src/Makefile: HAPPYLIB = $(FPTOOLS_TOP_ABS)/happy/templates
--
Sven Panne Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen Oettingenstr. 67
mailto:[EMAIL PROTECTED] D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne