[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 11:19:15 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 maeder):

 As I said above, my distros do not contain the framework indicator in the
 package.conf file. This, sadly, requires that at least "`-optl-framework
 -optlGNUreadline`" needs to be passed to ghc explicitely for linking .
 However, ghci will fail with this flag (or a framework indicator in
 package.conf) if the framework is not found under /Library/Frameworks/,
 even if also the proper framework path is supplied, because ghci uses
 `compiler/ghci/Linker.lhs`.

 So a distribution that contained the framework GNUreadline in the
 package.conf file would be ghci-unusable for me (who is not allowed to
 copy the GNUreadline.framework to /Library/Frameworks/)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1931#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list