[Hackage] #552: Cabal fails because header file is missing. But in fact the header file is erroneous.
#552: Cabal fails because header file is missing. But in fact the header file is erroneous. ---------------------------------+------------------------------------------ Reporter: mgross | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Mac OS | ---------------------------------+------------------------------------------ When trying to install HERA 0.2 the {{{ runhaskell Setup.hs configure }}} command fails with: {{{ Setup.hs: Missing dependency on a foreign library: * Missing header file: hsmpfr.h This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. }}} But in fact the header file is present. The real problem is an include in the header file. The include {{{ #include <malloc.h> }}} fails on Mac OS systems. It would be better if Cabal would report the compile error. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/552> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#552: Cabal fails because header file is missing. But in fact the header file is erroneous. ----------------------------+----------------------------------------------- Reporter: mgross | Owner: Type: enhancement | Status: closed Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: 1.6.0.2 Severity: normal | Resolution: duplicate Keywords: | Difficulty: normal Ghcversion: | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => duplicate Comment: Same as #532, which has slightly more useful info. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/552#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage