Hi,
I recently tried to compile HaskellDirect from source code, intending to
run it on Solaris. I could not find the GHC 4.03 but got GHC 4.04
(binary version). I make change in config.mk to the right directory
where GHC and happy 1.5 resident. But I failed with parse error when
"make" after "make boot".
Would you give me some suggestions on how to do it? And is there a
binary version of this package for Solaris?
Thanks.
-mq
This is what my config.mk likes:
HC=/home/phd/meiqing/ghc4/bin/ghc
CC=gcc
MKDEPENDHS=$(HC)
#TARGETPLATFORM=i386-unknown-mingw32
#TARGETPLATFORM=sparc-sun-solaris2.5.1
HAPPY=/home/phd/meiqing/happy/bin/happy -g
After "make boot", I tried "make" and always I got the following error.
Pretty.lhs:894: Pattern match(es) are non-exhaustive in the
definition of function `lay':
Patterns not matched:
(Beside _ _ _) _
(Above _ _ _) _
<<ghc: 241327016 bytes, 20 GCs, 1921054/3474960 avg/max bytes residency
(4 samples), 17M in use, 0.01 INIT (0.04 elapsed), 14.79 MUT (18.06
elapsed), 3.36 GC (7.21 elapsed) :ghc>>
ghc: module version changed to 1; reason: no old .hi file
/home/phd/meiqing/ghc4/bin/ghc -syslib exts -Rghc-timing -H16m -W
-recomp -c PP.lhs -o PP.o -osuf o
PP.lhs:86: Warning: Defined but not used: sep
PP.lhs:169: Warning: Defined but not used: p
<<ghc: 154357444 bytes, 12 GCs, 749130/1496372 avg/max bytes residency
(2 samples), 16M in use, 0.01 INIT (0.03 elapsed), 9.58 MUT (10.38
elapsed), 1.39 GC (1.68 elapsed) :ghc>>
ghc: module version changed to 1; reason: no old .hi file
/home/phd/meiqing/ghc4/bin/ghc -syslib exts -Rghc-timing -H16m -W
-recomp -c Utils.lhs -o Utils.o -osuf o
Utils.lhs:345: parse error on input `.'
Compilation had errors
make[1]: *** [Utils.o] Error 1
make: *** [all] Error 1