[GHC] #8366: haskeline Posix backend needs #include <sys/termios.h> on Solaris

GHC ghc-devs at haskell.org
Sat Oct 12 19:19:07 UTC 2013


#8366: haskeline Posix backend needs #include <sys/termios.h> on Solaris
-------------------------------------+-------------------------------------
        Reporter:  oddsignals        |            Owner:  thoughtpolice
            Type:  bug               |           Status:  patch
        Priority:  high              |        Milestone:  7.8.1
       Component:  libraries         |          Version:  7.7
  (other)                            |         Keywords:
      Resolution:                    |     Architecture:  Unknown/Multiple
Operating System:  Solaris           |       Difficulty:  Easy (less than 1
 Type of failure:  Building GHC      |  hour)
  failed                             |       Blocked By:
       Test Case:                    |  Related Tickets:  8361
        Blocking:                    |
-------------------------------------+-------------------------------------

Comment (by judahj):

 haskeline.cabal already has:
 {{{
 if os(solaris) {
     cpp-options: -DUSE_TERMIOS_H
 }
 }}}
 Do you know why that's not working?  Do we need to change that condition,
 or fix Cabal to detect Solaris correctly?

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


More information about the ghc-tickets mailing list