
18 Jun
2007
18 Jun
'07
9:09 p.m.
On 6/18/07, Ian Lynagh
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? Jason