[Yhc] lexical error in interactive/Interact.hs building Yhc
Andrew Wilcox
yhc at andrewwilcox.name
Sun Oct 22 13:13:20 EDT 2006
$ scons
[ ... ]
Getting dependencies for src/interactive/CmdLine.hs.
An error ocurred running `ghc -M -optdep-f
-optdepsrc/interactive/.CmdLine.hs.dep -fwarn-missing-signatures
-i./src/compiler98:depends/cpphs:depends/filepath:./src/interactive
src/interactive/CmdLine.hs`:
>
>./src/interactive/Interact.hs:17:1: lexical error
>
Dependencies will not be calculated.
ghc -i./src/compiler98 -idepends/cpphs -idepends/filepath
-i./src/interactive -fwarn-missing-signatures -c
src/interactive/CmdLine.hs -o src/interactive/CmdLine.o
src/interactive/CmdLine.hs:3:0:
Failed to load interface for `Interact':
Could not find module `Interact': use -v to see a list of the
files searched for
scons: *** [src/interactive/CmdLine.o] Error 1
scons: building terminated because of errors.
Perhaps ghc needs the -cpp flag?
$ darcs changes --last 5
Sat Oct 21 13:52:49 EDT 2006 Andrew Wilkinson <aw at cs.york.ac.uk>
* Fix yhc build error on Windows buildbot.
Sat Oct 21 13:21:16 EDT 2006 Andrew Wilkinson <aw at cs.york.ac.uk>
* Python people have moved the directory for libffi.
Sat Oct 21 13:04:42 EDT 2006 Andrew Wilkinson <aw at cs.york.ac.uk>
* Fix building the docs now yhe can be built.
Sat Oct 21 10:30:44 EDT 2006 Andrew Wilkinson <aw at cs.york.ac.uk>
* Add support for building Yhe.
Fri Oct 20 09:50:37 EDT 2006 Andrew Wilkinson <aw at cs.york.ac.uk>
* Fix building the docs.
$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 6.4.2
$ scons configure
scons: Reading SConscript files ...
Building version 0.7.0-33-custom.
Checking for architecture... x86
Checking for operating system... linux2
Checking for C header file gmp.h... yes
Checking for mpz_t integ; mpz_init (integ) in C library gmp... yes
Checking for libgmp version... 4.2.1
Checking for Python version 2.3 or later... Found version 2.4.3 final (0).
Checking for Scons binary... "/usr/bin/scons"
Checking for Scons version... Found version 0.96.1.D001.
Checking for Darcs binary... "/usr/bin/darcs"
Checking for Darcs version... Found version 1.0.8 (release).
Checking for Subversion binary... "/usr/bin/svn"
Checking for Subversion version... Found version 1.3.2.
Checking for GHC binary... "/opt/ghc/bin/ghc"
Checking for GHC version 6.4.1 or later... Found version 6.4.2.
Checking whether byte ordering is bigendian... no
Checking size of char... 1
Checking size of short... 2
Checking size of int... 4
Checking size of long... 4
Checking size of long long... 8
Checking size of float... 4
Checking size of double... 8
Checking size of void*... 4
Checking for pthread_create() in C library pthread... yes
Generating config.h with the following settings:
WORDS_BIGENDIAN False
HAVE_LIBPTHREAD 1
SIZEOF_LONG_LONG 8
SIZEOF_LONG 4
WIN32 0
SIZEOF_VOIDP 4
SIZEOF_CHAR 1
SIZEOF_DOUBLE 8
SIZEOF_FLOAT 4
SIZEOF_INT 4
HAVE_GCC_LABELS 1
SIZEOF_SHORT 2
scons: done reading SConscript files.
scons: Building targets ...
scons: Nothing to be done for `configure'.
scons: done building targets.
Thanks,
Andrew
More information about the Yhc
mailing list