Hi,
I am trying to use ghc-2.10 (from a Glasgow binary bundle) to build
ghc-3.00 from source, on a debian 1.3 linux box.
My build.mk is as follows:
WithGhcHc = ghc-2.10
Ghc2_0=YES
ProjectsToBuild += happy
ProjectsToInstall += literate happy
GhcHcOpts += -H32m -O
GhcLibWays += mc mr
HsLibsWithReadline=YES
ReadlineIncludePath=/usr/include/readline
configure and make boot go okay, but make all ends thus:
------------------------------------------------------------------------
==fptools== make all --no-print-directory -r;
in /usr/local/build/fptools/ghc/lib
------------------------------------------------------------------------
rm -f ghc/ArrBase.o ; if [ ! -d ghc/ArrBase ]; then mkdir ghc/ArrBase; else find
ghc/ArrBase -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/ArrBase -monly-2-regs -H8m -c ghc/ArrBase.lhs -o ghc/ArrBase.o -osuf o
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS array a{~,Int,IPr} b{} #-}
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS (!) a{~,Int,IPr} b{} #-}
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS (//) a{~,Int,IPr} b{} #-}
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS accum a{~,Int,IPr} b{} c{} #-}
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS accumArray a{~,Int,IPr} b{} c{} #-}
ArrBase.lhs:15: Could not find valid interface file `Ix'
ArrBase.lhs:16: Could not find valid interface file `PrelList'
ArrBase.lhs:16: Module `PrelList' does not export `foldl'
ArrBase.lhs:17: Could not find valid interface file `STBase'
ArrBase.lhs:18: Could not find valid interface file `PrelBase'
ArrBase.lhs:19: Could not find valid interface file `CCall'
ArrBase.lhs:20: Could not find valid interface file `Addr'
ArrBase.lhs:21: Could not find valid interface file `UnsafeST'
ArrBase.lhs:21: Module `UnsafeST' does not export `runST'
Compilation had errors
make[2]: *** [ghc/ArrBase.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
It seems from the error messages that the code has not kept pace with
changes in the libraries, but surely this would effect anyone building
3.00, so would presumably have been fixed by now.
Help would be appreciated.
Tim
--
----------------------------------------------------------------------
T.R.BARBOUR Email : [EMAIL PROTECTED]
----------------------------------------------------------------------
Department of Computer Science
The University of Melbourne
Parkville, Victoria 3052
Australia
----------------------------------------------------------------------