[Yhc] YHC Install Error...

Neil Mitchell ndmitchell at gmail.com
Tue Jun 5 18:40:15 EDT 2007


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 <akmorris at gmail.com> wrote:
> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/yhc
>
>


More information about the Yhc mailing list