[Haskell-cafe] Can't build Lambdabot

Jason Dagit dagit at codersbase.com
Mon Jun 18 17:09:09 EDT 2007

On 6/18/07, Ian Lynagh <igloo at earth.li> wrote:
> On Mon, Jun 18, 2007 at 05:07:19PM +0200, Daniel Fischer wrote:
> >
> > Plugin.hs:46:7:
> >     Could not find module `Text.Regex':
> >       it is a member of package regex-compat-0.71, which is hidden
> >
> > which would be easy to fix if regex-compat-0.71 WERE hidden, bu it's NOT, it's
> > definitely exposed.
> You need to list it in the "build-depends" field in the .cabal file.

Is it possible for cabal to catch this mistake and report a different
error?  I've bumped into it before as well and found the error message
to be enough misleading that I went down the wrong trouble shooting
path.  Maybe GHC should give a better diagnostic here?


More information about the Haskell-Cafe mailing list