|
Problems installing ghc 6.0 on freebsd: msg#00079lang.haskell.glasgow.bugs
We've been trying to install ghc 6.0 on our freebsd boxes using the port at freshports: http://www.freshports.org/lang/ghc6/ And following the advice on the ghc download page (http://www.haskell.org/ghc/download_ghc_600.html). Sadly, it dies when it tries to build the libraries (partial transcript attached) The existing ghc version seems fresh enough and seems to work. Any thoughts on what might be going wrong? -- Alastair $ ghc --version The Glorious Glasgow Haskell Compilation System, version 5.04.2 $ uname -a FreeBSD paria 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Jun 12 14:35:51 MDT 2003 kwebb@paria:/usr/obj/usr/src/sys/UTAHSMP-MANYBPF i386 $ ghc-pkg -l rts, base, haskell98, network, haskell-src, lang, concurrent, posix, util, data, text, net, hssource $ echo 'module Main(main) where { main = putStrLn "HelloWorld" }' > /tmp/A.hs $ ghc /tmp/A.hs -o /tmp/ghctest $ /tmp/ghctest HelloWorld ---------- Forwarded Message ---------- Subject: Re: Please install ghc 6.0 Date: Thursday 19 June 2003 10:18 pm From: Kirk R Webb <kwebb@xxxxxxxxxxxxx> To: Alastair Reid <alastair@xxxxxxxxxxxxxxxxxxxxxxxxx> Cc: cslwiz@xxxxxxxxxxxxxxxx I can't seem to get it compile correctly. Any suggestions? Some context: Data/Tree.hs:17rm -f Data/Maybe.o; if [ ! -d Data/Maybe_split ]; then mkdir Data/Maybe_split; else /usr/bin/find Data/Maybe_split -name '*.o' -print | xargs rm -f __rm_food; fi; rm -f Data/Tuple.o; if [ ! -d Data/Tuple_split ]; then mkdir Data/Tuple_split; else /usr/bin/find Data/Tuple_split -name '*.o' -print | xargs rm -f __rm_food; fi; ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -#include HsBase.h -funbox-strict-fields -package-name base -O -Rghc-timing -split-objs -c Data/Maybe.hs -o Data/Maybe.o -ohi Data/Maybe.hi Failed to load interface for `Prelude': Could not find interface file for Text/ParserCombinators/Parsec/Pos.hs:15: Failed to load interface for `Prelude': Could not find interface file for `Prelude' `Prelud (use -v to see a list of the files searched fore) ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -#include HsBase.h -funbox-strict-fields -package-name base -O -Rghc-timing -split-objs -c Data/Tuple.hs -o Data/Tuple.o -ohi Data/Tuple.hi <<ghc: 4438040 bytes, 2 GCs, 7972/7972 avg/max bytes residency (1 samples), 5M in use, 0.00 INIT (0.00 elapsed), 0.06 MUT (0.21 elapsed), 0.02 GC (0.02 elapsed) :ghc>> ' (use -v to see a list of the files searched for) <<ghc: 4216448 bytes, 2 GCs, 7096/7096 avg/max bytes residency (1 samples), 5M in use, 0.00 INIT (0.00 elapsed), 0.08 MUT (0.27 elapsed), 0.02 GC (0.02 elapsed) :ghc>> gmake[2]: *** [Text/ParserCombinators/Parsec/Pos.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Data/Tree.o] Error 1 <<ghc: 29359056 bytes, 5 GCs, 7168/7168 avg/max bytes residency (1 samples), 18M in use, 0.00 INIT (0.00 elapsed), 0.71 MUT (2.88 elapsed), 0.13 GC (0.12 elapsed) :ghc>> (cd Data/ && /usr/bin/ld -r -x -o Maybe.o Maybe_split/*.o); <<ghc: 554193256 bytes, 300 GCs, 5592297/9565616 avg/max bytes residency (10 samples), 28M in use, 0.01 INIT (0.00 elapsed), 12.34 MUT (65.09 elapsed), 7.27 GC (7.40 elapsed) :ghc>> (cd Data/ && /usr/bin/ld -r -x -o Tuple.o Tuple_split/*.o); gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/ghc6/work/ghc-6.0/libraries' gmake: *** [build] Error 1 *** Error code 2 -------------------------------------------------------
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-755726 ] mutiparameter classes problem, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-758818 ] openFileEx remove from GHC.Handle, SourceForge.net |
| Previous by Thread: | Trouble installing ghc 6.0 on Solaris, Stecher, Jack |
| Next by Thread: | RE: Problems installing ghc 6.0 on freebsd, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |