[Haskell-cafe] Can't build Lambdabot
daniel.is.fischer at web.de
Mon Jun 18 18:36:44 EDT 2007
now I get to:
[ 4 of 78] Compiling Lib.Parser ( Lib/Parser.hs,
Lib/Parser.hs:7920:4: Not in scope: `as_name'
Lib/Parser.hs:7926:4: Not in scope: `qualified_name'
Lib/Parser.hs:7932:4: Not in scope: `hiding_name'
Lib/Parser.hs:8015:4: Not in scope: `minus_name'
Lib/Parser.hs:8021:4: Not in scope: `pling_name'
Lib/Parser.hs:8034:4: Not in scope: `pling_name'
what's happened here?
How do I fix that?
Am Montag, 18. Juni 2007 23:09 schrieb Jason Dagit:
> 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, but 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?
Yes, very misleading.
More information about the Haskell-Cafe