Release candidate for 6.2.2 availabe

Peter Simons simons at cryp.to
Mon Sep 20 05:47:41 EDT 2004


I have some trouble building ghc from CVS HEAD. I'm not sure
whether this applies to the release candidate version, too,
but I figured I'd better report it anyway, just in case.

 1) The build fails:

 | ../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend
 |   -optdep-s -optdepp -osuf o    -H16m -O -optc-fno-pic
 |   -optc-fno-stack-protector -fglasgow-exts -cpp -Iinclude
 |   -"#include" HsBase.h -funbox-strict-fields -package-name
 |   base -O -Rghc-timing Control/Arrow.hs Control/Concurrent.hs
 |   Control/Concurrent/Chan.hs [...]
 | Data/FiniteMap.hs:111: token "@" is not valid in preprocessor expressions
 | Data/FiniteMap.hs:314: token "@" is not valid in preprocessor expressions
 | Data/FiniteMap.hs:420: token "@" is not valid in preprocessor expressions
 | Data/FiniteMap.hs:584: token "@" is not valid in preprocessor expressions
 | Data/FiniteMap.hs:733: token "@" is not valid in preprocessor expressions
 | Data/FiniteMap.hs:746: token "@" is not valid in preprocessor expressions
 | Data/FiniteMap.hs:807: token "@" is not valid in preprocessor expressions
 | <<ghc: 11638648 bytes, 6 GCs, 71976/71976 avg/max bytes
 |   residency (1 samples), 25M in use, 0.02 INIT (0.00
 |   elapsed), 0.08 MUT (1.43 elapsed), 0.03 GC (0.04 elapsed)
 |   :ghc>>
 | make[2]: *** [depend] Error 1
 | make[1]: *** [boot] Error 1
 | make[1]: Leaving directory `/usr/local/src/ghc-current/libraries'


 2) "make distclean" fails:

 | $ make distclean
 | rm -f -rf autom4te.cache
 | rm -f     *.CKP *.ln *.BAK *.bak [...]
 | ------------------------------------------------------------------------
 | ===fptools== Recursively making `distclean' in glafp-utils happy alex haddock ghc libraries hslibs docs ...
 | PWD = /usr/local/src/ghc-current
 | ------------------------------------------------------------------------
 | ------------------------------------------------------------------------
 | ==fptools== make distclean -r;
 |  in /usr/local/src/ghc-current/glafp-utils
 | ------------------------------------------------------------------------
 | You haven't run ./../configure yet.
 | make[1]: *** [../config.status] Error 1
 | make: *** [distclean] Error 1


 3) In order to build GHC's user manual and the
documentation for the older libraries, I use the following
bit of shell scripting before I run configure:

 | DOCDIRS="alex ghc haddock happy hslibs libraries"
 | 
 | for n in ${DOCDIRS}; do
 |   echo >$n/mk/build.mk "SGMLDocWays := html"
 | done
 | 
 | echo  >mk/build.mk "SGMLDocWays := html"

But apparently, this has stopped working! A "make
install-docs" will neither install nor even build the
documentation. (I have had this problem for a few weeks, but
never really came around to investigate it.)

Peter



More information about the Glasgow-haskell-users mailing list