Failed to load interface for `Prelude'
Thorkil Naur
naur at post11.tele.dk
Thu Apr 5 12:21:02 EDT 2007
Hello,
A long shot, but perhaps worth looking into: The reaction that you report here
seems similar to the one reported in trac #1195 Build error on MacOSX (Intel)
10.4.8 for HEAD from 2007-03-05 when compiling with ghc-6.6:
http://hackage.haskell.org/trac/ghc/ticket/1195
That ticket reports two cases where some error was apparently ignored, leading
to a sequence of error reports like the one you quote. But the first error,
which is probably the interesting one, is buried somewhere earlier in the
output and needs to be found "manually", somehow.
If you find your problem related to #1195, please attach any additional
details that may be relevant to that ticket.
Best regards
Thorkil
On Thursday 05 April 2007 15:26, Joel Reymont wrote:
> Pepe already told me that I need SplitObj=NO on Mac OSX.
>
> Can someone tell me why?
>
> Is the error below due to split objs?
>
> Thanks, Joel
>
> --
> ../compiler/stage1/ghc-inplace -H32m -O2 -istage2/utils -istage2/
> basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -
> istage2/rename -istage2/typecheck -istage2/deSugar -istage2/
> coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -
> istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -
> istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/
> ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -
> istage2/ghci -Istage2 -DGHCI -package template-haskell -DDEBUGGER -
> DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -
> cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package
> unix -package Cabal -package regex-compat -ignore-package lang -
> recomp -Rghc-timing -H16M '-#include "cutils.h"' -package-name
> ghc-6.7.20070404 -fgenerics -c basicTypes/OccName.lhs-boot -o
> stage2/basicTypes/OccName.o-boot -ohi stage2/basicTypes/OccName.hi-boot
> ../compiler/stage1/ghc-inplace -H32m -O2 -istage2/utils -istage2/
> basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -
> istage2/rename -istage2/typecheck -istage2/deSugar -istage2/
> coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -
> istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -
> istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/
> ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -
> istage2/ghci -Istage2 -DGHCI -package template-haskell -DDEBUGGER -
> DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -
> cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package
> unix -package Cabal -package regex-compat -ignore-package lang -
> recomp -Rghc-timing -H16M '-#include "cutils.h"' -package-name
> ghc-6.7.20070404 -fgenerics -O -c utils/Encoding.hs -o stage2/
> utils/Encoding.o -ohi stage2/utils/Encoding.hi
>
> basicTypes/OccName.lhs-boot:1:0:
> Failed to load interface for `Prelude':
> Use -v to see a list of the files searched for.
> <<ghc: 19113508 bytes, 4 GCs, 123616/123616 avg/max bytes residency
> (1 samples), 16M in use, 0.01 INIT (0.00 elapsed), 0.03 MUT (0.10
> elapsed), 0.02 GC (0.02 elapsed) :ghc>>
> make[2]: *** [stage2/basicTypes/OccName.o-boot] Error 1
> make[2]: *** Waiting for unfinished jobs....
>
> utils/Encoding.hs:1:0:
> Failed to load interface for `Prelude':
> Use -v to see a list of the files searched for.
> <<ghc: 25147464 bytes, 4 GCs, 123268/123268 avg/max bytes residency
> (1 samples), 16M in use, 0.01 INIT (0.00 elapsed), 0.03 MUT (0.12
> elapsed), 0.02 GC (0.02 elapsed) :ghc>>
> make[2]: *** [stage2/utils/Encoding.o] Error 1
> make[1]: *** [stage2] Error 2
> make: *** [bootstrap2] Error 2
>
> --
> http://wagerlabs.com/
>
>
>
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
More information about the Glasgow-haskell-users
mailing list