#5172: unix-compat does not build because of strangeness in GHC's header files.
---------------------------------+------------------------------------------
    Reporter:  rtvd              |        Owner:       
        Type:  bug               |       Status:  new  
    Priority:  normal            |    Milestone:       
   Component:  Runtime System    |      Version:  7.0.3
    Keywords:  unix-compat       |     Testcase:       
   Blockedby:                    |   Difficulty:       
          Os:  Unknown/Multiple  |     Blocking:       
Architecture:  Unknown/Multiple  |      Failure:  Other
---------------------------------+------------------------------------------
Changes (by rtvd):

  * status:  infoneeded => new


Comment:

 My bad. Sorry.
 It is not reproducible any more on my PC. I should have filed this ticket
 while I still remembered everything clearly.

 However:

 1. if I build 7.0.3 from sources the header file does not have #define
 LIBUTIL_H . This is good.

 2. but if I download 7.0.3 binary for Linux on x64 from here

  http://www.haskell.org/ghc/download_ghc_7_0_3#x86_64linux

 the header file has this

  /* Define to 1 if you have the <libutil.h> header file. */
  #define HAVE_LIBUTIL_H 1

 Perhaps the release has been built on a Linux where libutil.h was present.
 And on mine (Ubuntu 10.04.2) this header file is absent.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to