Unhelpful error message about "hidden" packages
|Reported by:||simonpj||Owned by:|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
Anatoly Yakonenko reported: I am trying to build ParseP on the latest ghc, and I am getting this error:
Text/ParserCombinators/ParseP/Interface.hs:26:17: Could not find module `Data.ByteString.Char8': it is a member of package bytestring-0.9.1.4, which is hidden
Ross Mellgren responded (correctly): I assume you're using cabal, which hides all packages by default. Add "bytestring" or "bytestring >= 0.9.*" or something along those lines to Build-Depends in your .cabal file.
Suggestion: improve GHC's error message.
Change History (4)
comment:1 Changed 8 years ago by simonpj
- difficulty changed from Unknown to Easy (1 hr)
- Milestone set to 6.12.1