
Hi all, I've been getting this error upon compiling the YHC source under windowsxp. The process continues without a snag until the bootstrapping is done, then the following occurs:
Could not find module `Data.Binary.Builder': Use -v to see a list of the files searched for.
Does anyone know where I get access to this file? Complete error message is below...Thanks... bootstrap/packages/yhc-base/1.0/Data/Ratio.hi -> src/packages/yhc-base-1.0 /Data/Ratio.hi Done. scons: done reading SConscript files. scons: Building targets ... Getting dependencies for depends\binary\src\Data\Binary\Builder.hs. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Builder.hs -o depends\binary\src\Data\Binary\Builder.obj Getting dependencies for depends\binary\src\Data\Binary\Get.hs. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Get.hs -o depends\binary\src\Data\Binary\Get.obj Getting dependencies for depends\binary\src\Data\Binary\Put.hs. An error ocurred running `ghc -M -optdep-f -optdepdepends\binary\src\Data\Binary\.Put.hs.dep -fwarn-missing-signatures -i./src/compile r98:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:depends/play:./src/interactive depends\binary\src\Data\Binary\Put.hs`:
depends/binary/src/Data/Binary/Put.hs:49:17: Could not find module `Data.Binary.Builder': Use -v to see a list of the files searched for.
Dependencies will not be calculated. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Put.hs -o depends\binary\src\Data\Binary\Put.obj depends/binary/src/Data/Binary/Put.hs:48:0: Failed to load interface for `Data.Binary.Builder': Use -v to see a list of the files searched for. scons: *** [depends\binary\src\Data\Binary\Put.obj] Error 1 scons: building terminated because of errors. C:\yhc> -- </Alexis>

Hi Alexis,
I'd first try:
; scons fullclean
; scons depends
; scons
It looks like an old version of an .hi file is floating around which
depended on Data.Binary - we since dropped that dependency since it
kills compatibility with too much.
BTW, as a standard point: The first thing to try on a build failure
should always be "scons fullclean && scons depends" - I'm adding this
to our FAQ now.
Thanks
Neil
On 6/5/07, Alexis Morris
Hi all,
I've been getting this error upon compiling the YHC source under windowsxp. The process continues without a snag until the bootstrapping is done, then the following occurs:
Could not find module `Data.Binary.Builder': Use -v to see a list of the files searched for.
Does anyone know where I get access to this file? Complete error message is below...Thanks...
bootstrap/packages/yhc-base/1.0/Data/Ratio.hi -> src/packages/yhc-base-1.0/Data/Ratio.hi Done. scons: done reading SConscript files. scons: Building targets ...
Getting dependencies for depends\binary\src\Data\Binary\Builder.hs. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Builder.hs -o depends\binary\src\Data\Binary\Builder.obj
Getting dependencies for depends\binary\src\Data\Binary\Get.hs. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Get.hs -o depends\binary\src\Data\Binary\Get.obj
Getting dependencies for depends\binary\src\Data\Binary\Put.hs. An error ocurred running `ghc -M -optdep-f -optdepdepends\binary\src\Data\Binary\.Put.hs.dep -fwarn-missing-signatures -i./src/compile r98:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:depends/play:./src/interactive depends\binary\src\Data\Binary\Put.hs`:
depends/binary/src/Data/Binary/Put.hs:49:17: Could not find module `Data.Binary.Builder': Use -v to see a list of the files searched for.
Dependencies will not be calculated. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Put.hs -o depends\binary\src\Data\Binary\Put.obj
depends/binary/src/Data/Binary/Put.hs:48:0: Failed to load interface for `Data.Binary.Builder': Use -v to see a list of the files searched for. scons: *** [depends\binary\src\Data\Binary\Put.obj] Error 1 scons: building terminated because of errors. C:\yhc>
-- </Alexis> _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc

Hi
I tried the commands below, and the first two executed fine...after that
when I run scons it doesn't find the C compiler. Where can I specify this?
Originally it ran with the cl.exe compiler that comes with visual c++ but
somehow has stopped. Not sure why. Below is an output...
C:\yhc>scons
scons: Reading SConscript files ...
Building version 0.7.0-20070505002602-custom.
Checking for architecture... (cached) Windows implies x86
Checking for operating system... (cached) win32
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.1.
Checking for Python version 2.3 or later... (cached) Found version
2.5.1final (0).
Checking for Scons binary... (cached) "scons"
Checking for Darcs binary... (cached) "darcs"
Checking for Darcs version... (cached) Found version 1.0.7 (release).
Checking for Haddock binary... (cached) Not found
Error. Haddock not found, you won't be able to build the documentation.
Checking whether byte ordering is bigendian... (cached) no
Checking size of char... (cached) no
Checking size of short... (cached) no
Checking size of int... (cached) no
Checking size of long... (cached) no
Checking size of long long... (cached) no
Checking size of float... (cached) no
Checking size of double... (cached) no
Checking size of void*... (cached) no
Failed to check types sizes/endianness. You do have a working C compiler
don't you?
If so then please contact the Yhc developers for help.
//Me testing the c compiler...
C:\yhc>cl
Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
C:\yhc>
On 6/5/07, Neil Mitchell
Hi Alexis,
I'd first try:
; scons fullclean ; scons depends ; scons
It looks like an old version of an .hi file is floating around which depended on Data.Binary - we since dropped that dependency since it kills compatibility with too much.
BTW, as a standard point: The first thing to try on a build failure should always be "scons fullclean && scons depends" - I'm adding this to our FAQ now.
Thanks
Neil
Hi all,
I've been getting this error upon compiling the YHC source under windowsxp. The process continues without a snag until the bootstrapping is done,
On 6/5/07, Alexis Morris
wrote: then the following occurs:
Could not find module `Data.Binary.Builder': Use -v to see a list of the files searched for.
Does anyone know where I get access to this file? Complete error message is below...Thanks...
bootstrap/packages/yhc-base/1.0/Data/Ratio.hi -> src/packages/yhc-base-1.0/Data/Ratio.hi Done. scons: done reading SConscript files. scons: Building targets ...
Getting dependencies for depends\binary\src\Data\Binary\Builder.hs. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Builder.hs -o depends\binary\src\Data\Binary\Builder.obj
Getting dependencies for depends\binary\src\Data\Binary\Get.hs. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Get.hs -o depends\binary\src\Data\Binary\Get.obj
Getting dependencies for depends\binary\src\Data\Binary\Put.hs. An error ocurred running `ghc -M -optdep-f -optdepdepends\binary\src\Data\Binary\.Put.hs.dep -fwarn-missing-signatures -i./src/compile
r98:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:depends/play:./src/interactive
depends\binary\src\Data\Binary\Put.hs`:
depends/binary/src/Data/Binary/Put.hs:49:17: Could not find module `Data.Binary.Builder': Use -v to see a list of the files searched for.
Dependencies will not be calculated. "ghc" -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/play -i./src/in teractive -package mtl -fwarn-missing-signatures -c depends\binary\src\Data\Binary\Put.hs -o depends\binary\src\Data\Binary\Put.obj
depends/binary/src/Data/Binary/Put.hs:48:0: Failed to load interface for `Data.Binary.Builder': Use -v to see a list of the files searched for. scons: *** [depends\binary\src\Data\Binary\Put.obj] Error 1 scons: building terminated because of errors. C:\yhc>
-- </Alexis> _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc
-- </Alexis>

Hi Alexis,
I tried the commands below, and the first two executed fine...after that when I run scons it doesn't find the C compiler. Where can I specify this? Originally it ran with the cl.exe compiler that comes with visual c++ but somehow has stopped. Not sure why. Below is an output...
C:\yhc>scons scons: Reading SConscript files ... Building version 0.7.0-20070505002602-custom. Checking for architecture... (cached) Windows implies x86 Checking for operating system... (cached) win32 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.1. Checking for Python version 2.3 or later... (cached) Found version 2.5.1 final (0). Checking for Scons binary... (cached) "scons" Checking for Darcs binary... (cached) "darcs" Checking for Darcs version... (cached) Found version 1.0.7 (release). Checking for Haddock binary... (cached) Not found Error. Haddock not found, you won't be able to build the documentation. Checking whether byte ordering is bigendian... (cached) no Checking size of char... (cached) no Checking size of short... (cached) no Checking size of int... (cached) no Checking size of long... (cached) no Checking size of long long... (cached) no Checking size of float... (cached) no Checking size of double... (cached) no Checking size of void*... (cached) no Failed to check types sizes/endianness. You do have a working C compiler don't you? If so then please contact the Yhc developers for help.
//Me testing the c compiler...
C:\yhc>cl Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
C:\yhc>
Weird! My usual issue is that you can start either a standard command prompt, or a Visual Studio command prompt - only the latter will be able to compile Yhi. Thanks Neil

On 6/13/07, Neil Mitchell
Hi Alexis,
I tried the commands below, and the first two executed fine...after that when I run scons it doesn't find the C compiler. Where can I specify this? Originally it ran with the cl.exe compiler that comes with visual c++ but somehow has stopped. Not sure why. Below is an output...
C:\yhc>scons scons: Reading SConscript files ... Building version 0.7.0-20070505002602-custom. Checking for architecture... (cached) Windows implies x86 Checking for operating system... (cached) win32 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.1. Checking for Python version 2.3 or later... (cached) Found version 2.5.1 final (0). Checking for Scons binary... (cached) "scons" Checking for Darcs binary... (cached) "darcs" Checking for Darcs version... (cached) Found version 1.0.7 (release). Checking for Haddock binary... (cached) Not found Error. Haddock not found, you won't be able to build the documentation. Checking whether byte ordering is bigendian... (cached) no Checking size of char... (cached) no Checking size of short... (cached) no Checking size of int... (cached) no Checking size of long... (cached) no Checking size of long long... (cached) no Checking size of float... (cached) no Checking size of double... (cached) no Checking size of void*... (cached) no Failed to check types sizes/endianness. You do have a working C compiler don't you? If so then please contact the Yhc developers for help.
//Me testing the c compiler...
C:\yhc>cl Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
C:\yhc>
Weird! My usual issue is that you can start either a standard command prompt, or a Visual Studio command prompt - only the latter will be able to compile Yhi.
Thanks
Neil
Hi, Apparently there's a bug in Scons that doesn't refresh the cache. The solution I found somewhere on this mailing list was to do a scons configure --config=force That solved it. Now I'm just going to try compiling yhi using arm-gcc. Cheers -- </Alexis>
participants (2)
-
Alexis Morris
-
Neil Mitchell