#3639: GHC 6.10.1 fails to build with  "../includes/ghcautoconf.h: No such file 
or
directory"
-----------------------------+----------------------------------------------
Reporter:  spookylukey       |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Build System    
 Version:  6.10.1            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 I am attempting to build GHC 6.10.1 on a CentOS 4.5 machine.

 At the 'make install' stage, I get this error:

 {{{
 /home/build/build/ghc-6.10.1/libraries/cabal-bin /home/build/local/bin/ghc
 /home/build/build/ghc-6.10.1/libraries/bootstrapping.conf build
 --distpref dist-stage1 --ghc-option=-H32m --ghc-option=-O  --ghc-
 option=-H32m  --ghc-option=-O
 Preprocessing executables for ghc-bin-6.10.1...
 Building ghc-bin-6.10.1...

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

 /home/build/local/lib/ghc-6.10.4/ghc-6.10.4/include/HsVersions.h:23:0:
      ../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
 }}}

 This was also reported here http://www.haskell.org/pipermail/glasgow-
 haskell-bugs/2008-November/015981.html but with no follow up.

 I am building using GHC 6.10.4 (which I cannot use for other purposes
 because of bug #3179).  I have to compile from source because of #2211

 I already have GHC 6.8.3 built, so I will uninstall 6.10.4 to try to build
 6.10.1 with 6.8.3 instead, and report back here if I have success.

 Otherwise, as GHC 6.10.1 is apparently the only version of GHC that I can
 use (library dependencies rule out 6.8.*), I would really appreciate help
 on fixing this or a workaround!

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3639>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to