Problems building ghc-current
Peter Simons
simons@cryp.to
28 May 2003 11:49:26 +0200
Volker Stolz writes:
> [STABLE branch]
Does the »STABLE« branch contain the meta-haskell extensions already?
Because this was the reason I wanted to run the CVS version in the
first place. :-)
Oh, and I have news: The build does not work yet, unfortunately. It
fails here:
| ------------------------------------------------------------------------
| ==fptools== make all - --no-print-directory -r;
| in /usr/local/src/ghc-current/hdirect/examples/math
| ------------------------------------------------------------------------
| ghc -H16m -O -fglasgow-exts -fno-prune-tydecls -package lang \
| -package hdirect -c Math.hs -o Math.o -ohi Math.hi
| ghc-5.04.3: unknown package name: hdirect
I commented out the lines
| ifneq "$(NoEamples)" "YES"
| SUBDIRS += examples
| endif
in »hdirect/Makefile« (»make NoEamples=YES« didn't help, for whatever
reason) and this fixed the problem.
Only to reveal:
| make[1]: Entering directory `/usr/local/src/ghc-current/hood'
| make[1]: *** No rule to make target `boot'. Stop.
| make[1]: Leaving directory `/usr/local/src/ghc-current/hood'
So I erased the »hood« directory altogether and got until here:
| ------------------------------------------------------------------------
| ==fptools== make all - --no-print-directory -r;
| in /usr/local/src/ghc-current/nofib/imaginary/exp3_8
| ------------------------------------------------------------------------
| HC = ../../../ghc/compiler/ghc-inplace
| HC_OPTS = -H16m -O -O -Rghc-timing -H32m -hisuf p_hi -hisuf p_hi -hcsuf p_hc -osuf p_o -prof
| RUNTEST_OPTS = -ghc-timing +RTS -H10m -K10m -RTS
| ==nofib_p== exp3_8: time to compile Main follows...
| ../../../ghc/compiler/ghc-inplace -H16m -O -O -Rghc-timing -H32m -hisuf p_hi -hisuf p_hi -hcsuf p_hc -osuf p_o -prof -c Main.hs -o Main.p_o
| make[4]: time: Command not found
Erasing »nofib« took care of this problem.
This is really fun. :-)
Peter