Data.ByteString in base fails to build?
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Thu Sep 7 08:23:24 EDT 2006
> > Data/ByteString.hs:301:14: Not in scope: `empty'
> >
> > at different locations. Indeed, the module does appear to both
> > export "empty" and use it many times, but does not define it.
>
> Hmm. Should be in Data.ByteString.Base.
>
> It's in my copy. Is it possible your shadow build directory hasn't
> sym linked libraries/base/Data/ByteString/Base.hs ?
Apologies. I think the cause was some interface files left behind after
a previous build. For some reason the build system did not detect the
dependencies correctly, and re-built Data.ByteString before D.B.Base,
hence importing an older interface.
make distclean before rebuilding should fix it.
Regards,
Malcolm
More information about the Cvs-libraries
mailing list