[Haskell-cafe] Problems building GreenCard
Dmitri Pissarenko
mailing-lists at dapissarenko.com
Tue Feb 15 15:51:32 EST 2005
Hello!
I'm trying to build GreenCard 3.01 (latest release according to
http://www.haskell.org/greencard/) under Windows with cygwin and GHC 6.2.1.
I'm getting these errors:
<errors>
$ make prefix=/cygdrive/c/Programme/GreenCard/ install install-pkg
make[1]: Entering directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/g
reencard-3.01/src'
rm -f .depend
touch .depend
ghc -M -optdep-f -optdep.depend -optdep-xFiniteMap -optdep-xPretty -recomp -O -
f
glasgow-exts Casm.lhs DIS.lhs Decl.lhs ErrMonad.lhs FillIn.lhs
FillInMonad.l
hs GCToken.lhs GreenCard.lhs Lex.lhs LexM.lhs ListUtils.lhs MarshallMonad.lhs
Na
me.lhs NameSupply.lhs Package.lhs PrettyUtils.lhs Proc.lhs Process.lhs
Target.lh
s Type.lhs Parse.hs
make[1]: Leaving directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/gr
eencard-3.01/src'
make[1]: Entering directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/g
reencard-3.01/src'
ghc -recomp -O -fglasgow-exts -c Target.lhs -o Target.o
ghc -recomp -O -fglasgow-exts -c PrettyUtils.lhs -o PrettyUtils.o
ghc -recomp -O -fglasgow-exts -c Casm.lhs -o Casm.o
Casm.lhs:544:
Warning: Pattern match(es) are overlapped
In a case alternative: _ -> ...
Casm.lhs:577:
Warning: Pattern match(es) are overlapped
In a case alternative: _ -> ...
Casm.lhs:616:
Warning: Pattern match(es) are overlapped
In a case alternative: _ -> ...
Casm.lhs:631:
Warning: Pattern match(es) are overlapped
In a case alternative: _ -> ...
ghc -recomp -O -fglasgow-exts -c ListUtils.lhs -o ListUtils.o
ghc -recomp -O -fglasgow-exts -c ErrMonad.lhs -o ErrMonad.o
ghc -recomp -O -fglasgow-exts -c Name.lhs -o Name.o
ghc -recomp -O -fglasgow-exts -c DIS.lhs -o DIS.o
ghc -recomp -O -fglasgow-exts -c Type.lhs -o Type.o
ghc -recomp -O -fglasgow-exts -c Decl.lhs -o Decl.o
ghc -recomp -O -fglasgow-exts -c FillInMonad.lhs -o FillInMonad.o
ghc -recomp -O -fglasgow-exts -c NameSupply.lhs -o NameSupply.o
ghc -recomp -O -fglasgow-exts -c FillIn.lhs -o FillIn.o
ghc -recomp -O -fglasgow-exts -c GCToken.lhs -o GCToken.o
ghc -recomp -O -fglasgow-exts -c MarshallMonad.lhs -o MarshallMonad.o
ghc -recomp -O -fglasgow-exts -c Proc.lhs -o Proc.o
ghc -recomp -O -fglasgow-exts -c LexM.lhs -o LexM.o
ghc -recomp -O -fglasgow-exts -c Lex.lhs -o Lex.o
ghc -recomp -O -fglasgow-exts -Onot -c Parse.hs -o Parse.o
Parse.hs:1733:
Warning: Pattern match(es) are overlapped
In a case alternative: _ -> ...
ghc -recomp -O -fglasgow-exts -c Process.lhs -o Process.o
ghc -recomp -O -fglasgow-exts -c Package.lhs -o Package.o
ghc -recomp -O -fglasgow-exts -cpp -DBEGIN_GHC_ONLY='-}' -DEND_GHC_ONLY='{-
' -
DBEGIN_NOT_FOR_GHC='{-' -DEND_NOT_FOR_GHC='-}' -DPURE_WIN32=0 -c GreenCard.lhs
-o GreenCard.o
ghc -c ErrorHook.c -o ErrorHook.o
ghc -recomp -O -fglasgow-exts -o greencard-bin Casm.o DIS.o Decl.o
ErrMonad.
o FillIn.o FillInMonad.o GCToken.o GreenCard.o Lex.o LexM.o ListUtils.o
Marshall
Monad.o Name.o NameSupply.o Package.o PrettyUtils.o Proc.o Process.o Target.o
Ty
pe.o Parse.o ErrorHook.o
sed < greencard.ghc.in >
greencard "s|@libdir@|/cygdrive/c/Programme/GreenCard//
lib/greencard-3.01|g"
chmod a+x greencard
install -D greencard-bin /cygdrive/c/Programme/GreenCard//lib/greencard-
3.01/gre
encard-bin
install -D greencard /cygdrive/c/Programme/GreenCard//bin/greencard
make[1]: Leaving directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/gr
eencard-3.01/src'
make[1]: Entering directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/g
reencard-3.01/lib'
../src/greencard-bin --libdir=. Foreign/GreenCard.gc
ghc -package-name greencard -cpp -fglasgow-exts -fno-prune-tydecls -c
Foreign/
GreenCard.hs -o Foreign/GreenCard.o -hisuf hi
ghc.exe: unrecognised flags: -fno-prune-tydecls
Usage: For basic information, try the `--help' option.
make[1]: *** [Foreign/GreenCard.o] Error 1
rm Foreign/GreenCard.hs
make[1]: Leaving directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/gr
eencard-3.01/lib'
make[1]: Entering directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/g
reencard-3.01/src'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/gr
eencard-3.01/src'
make[1]: Entering directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/g
reencard-3.01/lib'
../src/greencard-bin --libdir=. Foreign/GreenCard.gc
ghc -package-name greencard -cpp -fglasgow-exts -fno-prune-tydecls -prof -c
For
eign/GreenCard.hs -o Foreign/GreenCard.p_o -hisuf p_hi
ghc.exe: unrecognised flags: -fno-prune-tydecls
Usage: For basic information, try the `--help' option.
make[1]: *** [Foreign/GreenCard.p_o] Error 1
rm Foreign/GreenCard.hs
make[1]: Leaving directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/gr
eencard-3.01/lib'
make: *** [install] Error 2
</errors>
How can I fix them?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
More information about the Haskell-Cafe
mailing list