Ticket #3168 (closed bug: fixed)
Unhelpful error message about "hidden" packages
| Reported by: | simonpj | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.12.1 |
| Component: | Compiler | Version: | 6.10.2 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Easy (less than 1 hour) | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
Note: See
TracTickets for help on using
tickets.
