Data.ByteString in base fails to build?
Donald Bruce Stewart
dons at cse.unsw.edu.au
Thu Sep 7 07:26:44 EDT 2006
Malcolm.Wallace:
> Hi,
>
> I'm just building ghc from scratch with the latest darcs sources, and
> getting a build failure on Data.ByteString in the base package. The
> error is multiple copies of
>
> 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.
>
> Regards,
> Malcolm
Hmm. Should be in Data.ByteString.Base.
-- | /O(1)/ The empty 'ByteString'
empty :: ByteString
empty = PS nullForeignPtr 0 0
It's in my copy. Is it possible your shadow build directory hasn't
sym linked libraries/base/Data/ByteString/Base.hs ?
-- Don
More information about the Cvs-libraries
mailing list