Hi
I'm new to Haskell and GHC, but have had experience with Miranda. As part
of my final year Software Engineering project at Imperial College,
I am hoping to investigate possible concurrent garbage collection
schemes for GHC.
I have spent the past few days trying to compile GHC but to no avail.
Initially I checked the current GHC source out via CVS and attempted to
compile it. Compilation failed. I therefore downloaded the GHC 4.00
source and i386-unknown-linux binaries.
I configured happy and ghc 4.00 to run 'in-place' in my user directory.
I then attempted to compile GHC by extracting the source to a 9Gig scratch
area on the college machines (4 of which are used) and then following the
installation instructions. The make 'boot' works but the make 'all' fails
when trying to build files in ghc/compiler:
<start error output>
ghc -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser
-iutils:
basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:
simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:main:reader:profiling:
parser:nativeGen -recomp -c codeGen/CgMonad.lhs -o codeGen/CgMonad.o
-osuf o
CgMonad.lhs:46:
CgBindery.hi-boot:3 Interface-file parse error; toks= []
CgMonad.lhs:46: Could not find valid interface file `CgBindery'
CgMonad.lhs:46: Module `CgBindery' does not export `CgIdInfo(..)'
CgMonad.lhs:46: Module `CgBindery' does not export `CgBindings'
CgMonad.lhs:46: Module `CgBindery' does not export `maybeStkLoc'
CgMonad.lhs:46:
Module `CgBindery' does not export `nukeVolatileBinds'
Compilation had errors
make: *** [codeGen/CgMonad.o] Error 1
<end error output>
(other failures have occurred but this was due to out of space errors on
the
heap and I managed to resolve these by increasing the heap size)
This is particularly frustrating as the failure resulted after about 1.5
hours
into compilation.
Could anyone please give me an indication of where I might be going wrong,
these
compilations are not only exceptionally time consuming but are driving me
nuts!
Any help much appreciated.
Many thanks
Andy
--
*********************************************************************
* Andrew Cheadle email: [EMAIL PROTECTED] *
* Department of Computing *
* Imperial College *
* University of London *
*********************************************************************