
dom@heisenberg:~/yhc> scons build scons: Reading SConscript files ... Building version 0.7.0-20070313023410-custom. Checking for architecture... (cached) x86 Checking for operating system... (cached) linux2 Checking for Subversion binary... (cached) Not found Error. 'svn' not found in PATH. Will use ctypes snapshot. Checking for GHC binary... (cached) "ghc" Checking for GHC version 6.4.1 or later... (cached) Found version 6.6. Checking for C header file gmp.h... (cached) yes Checking for mpz_t integ; mpz_init (integ) in C library gmp... (cached) yes Checking for libgmp version... (cached) 4.2.1 Downloading Ctypes snapshot... Downloaded. Bootstrapping... Done. scons: done reading SConscript files. scons: Building targets ... Getting dependencies for src/compiler98/Main.hs. An error ocurred running `ghc -M -optdep-f -optdepsrc/compiler98/.Main.hs.dep -c pp -DyhcVERSION=\"0.7.0-20070313023410-custom\" -i./src/compiler98:./src/librar ies/general:./src/libraries/core:depends/cpphs:depends/filepath:./src/interactiv e src/compiler98/Main.hs`:
depends/cpphs/Language/Preprocessor/Cpphs/Tokenise.hs:235:0: error: unterminated comment
Dependencies will not be calculated. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepe nds/cpphs -idepends/filepath -i./src/interactive -package mtl "-cpp -DyhcVERSION =\"0.7.0-20070313023410-custom\" " -c src/compiler98/Main.hs -o src/compiler98/M ain.o src/compiler98/Main.hs:9:0: Failed to load interface for `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. dom@heisenberg:~/yhc> Possibly something wrong with the build script as View.hs doesn't seem to have been compiled? dom@heisenberg:~/yhc> ls src/compiler98/Core/ Convert.hi Convert.hs Convert.o Linker.hi Linker.hs Linker.o View.hs Dominic.

Dominic Steinitz
An error ocurred running `ghc -M -optdep-f -optdepsrc/compiler98/.Main.hs.dep -cpp ...
depends/cpphs/Language/Preprocessor/Cpphs/Tokenise.hs:235:0: error: unterminated comment
This was down to some recent bugfixes in cpphs, which ghc -cpp then failed to parse correctly. I pushed a fix for this issue to the cpphs repo on Thursday. Maybe you need to do a 'darcs pull' in yhc/depends/cpphs. Regards, Malcolm

Hi
This was down to some recent bugfixes in cpphs, which ghc -cpp then failed to parse correctly. I pushed a fix for this issue to the cpphs repo on Thursday. Maybe you need to do a 'darcs pull' in yhc/depends/cpphs.
"scons depends" will do this all for you. Thanks Neil

On Sunday 18 March 2007 16:38, Neil Mitchell wrote:
Hi
This was down to some recent bugfixes in cpphs, which ghc -cpp then failed to parse correctly. I pushed a fix for this issue to the cpphs repo on Thursday. Maybe you need to do a 'darcs pull' in yhc/depends/cpphs.
"scons depends" will do this all for you.
Thanks
Neil
Thanks. I'm not sure if I got further or not. Dominic. dom@heisenberg:~/yhc> scons depends scons: Reading SConscript files ... ... darcs pull --repodir=depends/cpphs Pulling from "http://www.cs.york.ac.uk/fp/darcs/cpphs"... ... dom@heisenberg:~/yhc> scons build ... YHC_build(["src/packages/yhc-base-1.0/Data/Set.hbc"], ["src/packages/yhc-base-1.0/Data/Set.hs"]) inst/bin/yhc -core -cpp -c src/packages/yhc-base-1.0/Data/Set.hs Warning: Can't find file "Typeable.h" in directories /home/dom/yhc/src/packages/yhc-base-1.0/Data . Asked for by: /home/dom/yhc/src/packages/yhc-base-1.0/Data/Set.hs at line 553 col 1 Error: File not found, Data.Monoid Reason: imported from Data.Set Looked in: /home/dom/yhc/src/packages/yhc-base-1.0/ . /home/dom/yhc/inst/lib/yhc/packages/yhc-base/1.0 scons: *** [src/packages/yhc-base-1.0/Data/Set.hbc] Error 1 scons: building terminated because of errors.

Hi Dominic,
You've got an awful lot further, I've pushed a patch to fix your issue
- darcs pull in the root then scons and it should work more this time.
Thanks
Neil
On 3/19/07, Dominic Steinitz
On Sunday 18 March 2007 16:38, Neil Mitchell wrote:
Hi
This was down to some recent bugfixes in cpphs, which ghc -cpp then failed to parse correctly. I pushed a fix for this issue to the cpphs repo on Thursday. Maybe you need to do a 'darcs pull' in yhc/depends/cpphs.
"scons depends" will do this all for you.
Thanks
Neil
Thanks. I'm not sure if I got further or not.
Dominic.
dom@heisenberg:~/yhc> scons depends scons: Reading SConscript files ... ... darcs pull --repodir=depends/cpphs Pulling from "http://www.cs.york.ac.uk/fp/darcs/cpphs"... ... dom@heisenberg:~/yhc> scons build ... YHC_build(["src/packages/yhc-base-1.0/Data/Set.hbc"], ["src/packages/yhc-base-1.0/Data/Set.hs"]) inst/bin/yhc -core -cpp -c src/packages/yhc-base-1.0/Data/Set.hs Warning: Can't find file "Typeable.h" in directories /home/dom/yhc/src/packages/yhc-base-1.0/Data . Asked for by: /home/dom/yhc/src/packages/yhc-base-1.0/Data/Set.hs at line 553 col 1 Error: File not found, Data.Monoid Reason: imported from Data.Set Looked in: /home/dom/yhc/src/packages/yhc-base-1.0/ . /home/dom/yhc/inst/lib/yhc/packages/yhc-base/1.0 scons: *** [src/packages/yhc-base-1.0/Data/Set.hbc] Error 1 scons: building terminated because of errors.
participants (3)
-
Dominic Steinitz
-
Malcolm Wallace
-
Neil Mitchell