[Yhc] Error trying to build Yhc

Isaac isaacdupree at charter.net
Sun Nov 5 06:59:01 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

$ darcs get --partial http://darcs.haskell.org/yhc && cd yhc && scons
[...]
Getting dependencies for src/compiler98/Main.hs.
An error ocurred running `ghc -M -optdep-f
- -optdepsrc/compiler98/.Main.hs.dep - c p p   - D y h c V E R S I O N = \
" 0 . 7 . 0 - 2 0 0 6 1 1 0 5 0 3 4 3 1 3 - c u s t o m \ "
-
-i./src/compiler98:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:./src/interactive
src/compiler98/Main.hs`:
>ghc-6.4.2: unrecognised flags: - -
>Usage: For basic information, try the `--help' option.
>
Dependencies will not be calculated.
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
- -idepends/cpphs -idepends/filepath -i./src/interactive -cpp
- -DyhcVERSION=\"0.7.0-20061105034313-custom\" -c src/compiler98/Main.hs
- -o src/compiler98/Main.o

src/compiler98/Main.hs:9:0:
    Failed to load interface for `Core.View':
        Could not find module `Core.View':
          use -v to see a list of the files searched for
scons: *** [src/compiler98/Main.o] Error 1
scons: building terminated because of errors.



What a bizarre error -- it looks like some spaces were interspersed in
part of ghc's command-line there!  (That is the right repository for
darcs-get now? The old one had worse errors of course)  Anyway, it's
repeatable... at least on my ppc Ubuntu-Edgy system...

Isaac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFTdIEHgcxvIWYTTURApLiAKCILDZO4lNjX44XQ9Pb+IFaFxKHMACfU1dH
znM0ZMZA+xDC7DQprKtCx/w=
=HHqZ
-----END PGP SIGNATURE-----


More information about the Yhc mailing list