#2619: Can't build HEAD with ghc-6.10
-----------------------+----------------------------------------------------
    Reporter:  judah   |       Owner:          
        Type:  bug     |      Status:  new     
    Priority:  normal  |   Component:  Compiler
     Version:  6.9     |    Severity:  normal  
    Keywords:          |    Testcase:          
Architecture:  x86     |          Os:  MacOS X 
-----------------------+----------------------------------------------------
 I tried to build an up-to-date HEAD (ghc-6.9.20080920) with
 ghc-6.10.0.20080921 (from the release candidate tarball), and got the
 following error.  I have double-checked that building HEAD with ghc-6.8.3
 still works for me.

 {{{
 Building ghc-bin-6.9.20080920...

 In file included from Main.hs:14:0:

 
/usr/local/lib/ghc-6.10.0.20080921/ghc-6.10.0.20080921/include/HsVersions.h:23:0:
      error: ../includes/ghcautoconf.h: No such file or directory
 make[2]: *** [build.stage.1] Error 1
 make[1]: *** [build.stage.1] Error 2
 make: *** [stage1] Error 1
 }}}

 My installed layout explains the error a little:
 {{{
 /usr/local/lib/ghc-6.10.0.20080921//ghc-6.10.0.20080921/include/HsVersions.h
 /usr/local/lib/ghc-6.10.0.20080921//include/ghcautoconf.h
 }}}

 Although I wonder whether the root cause of this problem is that Main.hs
 is using the installed `HsVersions.h` instead of the local
 `compiler/HsVersions.h`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2619>
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