[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
Wed Nov 28 14:56:48 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: closed
Priority: normal | Milestone: 6.8.2
Component: libraries (other) | Version: 6.9
Severity: normal | Resolution: duplicate
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: MacOS X |
-------------------------------+--------------------------------------------
Comment (by thorkilnaur):
The basic problem seems to be that Mac OS X'es have this additional and
different way of setting up paths for include files and libraries.
Essentially, this forces a program like GHC to more or less duplicate this
mechanism. And to a certain extent this has happened: GHC has a -framework
option to pass to the Mac linker and a -framework-path option to pass
something to the Mac linker -F option.
But GHC doesn't have an option that matches the Mac gcc -F option: GHC
doesn't do any Mac-like framework management similar to what the Mac gcc
does. And that is really what you are missing, if I understand your
comment correctly.
So in that situation, I still believe that it is preferable to let the
Cabal-packaging of the readline library handle these differences.
Likewise, various fixes could probably be concocted to solve the Shellac-
readline problem (such as the use of symbolic links or installing the GNU
readline library in one of the places that it is normally placed in).
Best regards
Thorkil
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1931#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list