#3168: Unhelpful error message about "hidden" packages
-------------------------------+--------------------------------------------
  Reporter:  simonpj           |          Owner:                  
      Type:  bug               |         Status:  new             
  Priority:  normal            |      Milestone:                  
 Component:  Compiler          |        Version:  6.10.2          
  Severity:  normal            |       Keywords:                  
Difficulty:  Unknown           |       Testcase:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-------------------------------+--------------------------------------------
 Anatoly Yakonenko [http://www.haskell.org/pipermail/haskell-
 cafe/2009-April/059677.html 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3168>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to