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

GHC ghc-devs at haskell.org
Tue Jan 14 21:19:17 UTC 2014


#8366: haskeline Posix backend needs #include <sys/termios.h> on Solaris
-------------------------------------+-------------------------------------
        Reporter:  oddsignals        |            Owner:  thoughtpolice
            Type:  bug               |           Status:  infoneeded
        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 #8670
        Blocking:                    |
-------------------------------------+-------------------------------------
Changes (by hvr):

 * related:  8361 => #8361 #8670


Comment:

 Replying to [comment:8 judahj]:
 > {{{
 > 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?

 see also #8670

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


More information about the ghc-tickets mailing list