[Hackage] #532: libraries and include checks can be highly misleading

Hackage trac at galois.com
Tue Jul 21 05:25:30 EDT 2009

#532: libraries and include checks can be highly misleading
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  unknown
Ghcversion:                 |     Platform:         
Comment (by tibbe):

 Had a similar problem with the `network` package. A change to one of the
 local `.h` files made it fail to compile on non-win32 platforms with this
 error message:

 cabal: Missing dependency on a foreign library:
 * Missing header file: HsNet.h

 Running cabal with `-v3` showed the real error. Perhaps we should
 acknowledge the different possible reasons for the failure in the error
 message if parsing the actual error output from the compiler is too
 difficult? Perhaps we should also recommend rerunning `configure` with

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/532#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list