[GHC] #1931: readline/rlstdc.h not found (and other errors)
when building readline on Mac OS X with framework GNUreadline
GHC
trac at galois.com
Tue Nov 27 21:50:05 EST 2007
#1931: readline/rlstdc.h not found (and other errors) when building readline on
Mac OS X with framework GNUreadline
-------------------------------+--------------------------------------------
Reporter: thorkilnaur | Owner: judah
Type: bug | Status: new
Priority: normal | Milestone: 6.8.2
Component: libraries (other) | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: MacOS X |
-------------------------------+--------------------------------------------
Comment (by judah):
Christian, I agree that conditional compilation in Haskell libraries is
undesirable, but the problem here is with header files in the framework
itself, not with libraries that {{{#import}}} the framework.
My proposed fix was that if a header file is part of
{{{GNUreadline.framework}}}, it should *always* (not conditionally) import
other readline headers as {{{<GNUreadline/*>}}}. That's necessary given
how GHC currently behaves; and it will still work once #1798 is
implemented (although that proposal could make this change unnecessary).
Given that #1798 won't be done until 6.10 at the earliest, is there any
problem with making this change for now?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1931#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list