RE: Further newbie compilation problems with GHC 4.00
Yep, it's been sorted out off-line - bad glibc mixture. I hope to have a glibc2 friendly ghc-4.00 bin bundle uploaded sometime later today. --Sigbjorn > Simon Marlow [mailto:[EMAIL PROTECTED]] writes: > > Andrew Cheadle <[EMAIL PROTECTED]> writes: > > > [compilation output] > > > > > -- > -- > > > > ==fptools== make all -r; > > in /a/hex/export32/bitbucket/amc4/development/fptools/ghc/lib/std > > > -- > -- > > > > rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir > PrelBase; else find > > PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi ; > > ../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C > -Rghc-timing > > -O -split-objs -odir PrelBase -H10m -c PrelBase.lhs -o PrelBase.o > > -osuf o > > > > PrelBase.lhs:18: Could not find valid interface file `PrelErr' > > > > PrelBase.lhs:18: Module `PrelErr' does not export `error' > > > > PrelBase.lhs:19: Could not find valid interface file `PrelGHC' > > This is on a fairly recent Linux installation w/ glibc, right? I had > the same problem when I tried to compile 4.00 on one of the RedHat 5 > boxes at Glasgow, but didn't get a chance to look into it. > > Cheers, > Simon > > -- > Simon Marlow [EMAIL PROTECTED] > University of Glasgow http://www.dcs.gla.ac.uk/~simonm/ finger for PGP public key
Re: Further newbie compilation problems with GHC 4.00
Andrew Cheadle <[EMAIL PROTECTED]> writes: > [compilation output] > > > > ==fptools== make all -r; > in /a/hex/export32/bitbucket/amc4/development/fptools/ghc/lib/std > > > rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else find > PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi ; > ../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing > -O -split-objs -odir PrelBase -H10m -c PrelBase.lhs -o PrelBase.o > -osuf o > > PrelBase.lhs:18: Could not find valid interface file `PrelErr' > > PrelBase.lhs:18: Module `PrelErr' does not export `error' > > PrelBase.lhs:19: Could not find valid interface file `PrelGHC' This is on a fairly recent Linux installation w/ glibc, right? I had the same problem when I tried to compile 4.00 on one of the RedHat 5 boxes at Glasgow, but didn't get a chance to look into it. Cheers, Simon -- Simon Marlow [EMAIL PROTECTED] University of Glasgow http://www.dcs.gla.ac.uk/~simonm/ finger for PGP public key
RE: Further newbie compilation problems with GHC 4.00
[g-h-b listeners - sorry for slacking off on replying to bug msgs over the last couple of days. Things should be back to a more normal state soon..] Andrew Cheadle <[EMAIL PROTECTED]> writes: > ... > ../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C > -Rghc-timing > -O -split-objs -odir PrelBase -H10m -c PrelBase.lhs -o PrelBase.o > -osuf o > > PrelBase.lhs:18: Could not find valid interface file `PrelErr' > > PrelBase.lhs:18: Module `PrelErr' does not export `error' > > PrelBase.lhs:19: Could not find valid interface file `PrelGHC' > Odd; make sure that you've got PrelErr.hi-boot (and PrelGHC.hi-boot) in ghc/lib/std (don't know why they shouldn't be there, but worth checking.) If that doesn't show up anything unexpected, do cd ghc/lib/std make EXTRA_HC_OPTS='-dshow-rn-trace -optC-dshow-rn-imports' and let us know what this produced on stderr. Also, what does 'uname -a' & 'grep C_LIB_VERSION /usr/include/*.h' report? --Sigbjorn
Further newbie compilation problems with GHC 4.00
Hi Sigbjorn kindly sorted out myprevious compilation problems for me, but now I've hit more... [compilation output] ==fptools== make all -r; in /a/hex/export32/bitbucket/amc4/development/fptools/ghc/lib/std rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else find PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi ; ../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing -O -split-objs -odir PrelBase -H10m -c PrelBase.lhs -o PrelBase.o -osuf o PrelBase.lhs:18: Could not find valid interface file `PrelErr' PrelBase.lhs:18: Module `PrelErr' does not export `error' PrelBase.lhs:19: Could not find valid interface file `PrelGHC' Compilation had errors make[1]: *** [PrelBase.o] Error 1 make: *** [all] Error 1 [end compilation output] Does anyone know how to fix this? Many thanks Andy -- * * Andrew Cheadleemail: [EMAIL PROTECTED] * * Department of Computing * * Imperial College * * University of London * *