#5172: unix-compat does not build because of strangeness in GHC's header files.
-----------------------------+----------------------------------------------
Reporter: rtvd | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 7.0.3
Resolution: worksforme | Keywords: unix-compat
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Other |
-----------------------------+----------------------------------------------
Comment(by jystic):
My 0.2.1.2 upload was a bit premature, I must have forgotten to cabal
clean before I checked that everything still built properly. After doing a
clean I get the same error as byorgey because `HAVE_LCHOWN` is not
defined. It used to get included indirectly, `HsUnix.h` includes
`HsUnixConfig.h`.
I have uploaded 0.2.1.3 which includes `HsUnixConfig.h` instead of
`HsUnix.h` because `HAVE_LCHOWN` is the only thing required from the
`unix` include files.
Unfortunately, this does not fix the original problem. `HsUnixConfig.h`
really just needs to match the system configuration, that's the whole
point.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5172#comment:7>
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