[Yhc] Build Problem

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Sat Mar 17 14:01:08 EDT 2007


dom at 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 at heisenberg:~/yhc>

Possibly something wrong with the build script as View.hs doesn't seem to have 
been compiled?

dom at heisenberg:~/yhc> ls src/compiler98/Core/
Convert.hi  Convert.hs  Convert.o   Linker.hi   Linker.hs   Linker.o    
View.hs

Dominic.



More information about the Yhc mailing list