[GHC] #9513: Building GHC on Windows

GHC ghc-devs at haskell.org
Mon Aug 25 15:39:46 UTC 2014


#9513: Building GHC on Windows
-------------------------------------+-------------------------------------
       Reporter:  srutownik          |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Build System       |                 Version:  7.8.3
       Keywords:                     |        Operating System:
   Architecture:  x86_64 (amd64)     |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:  Building
     Blocked By:                     |  GHC failed
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 I am trying to build GHC 7.8.3 on my computer, but in final phase of
 building it fails.

 I have downloaded both packages with sources, one with compiler and
 minimal set of libraries, second with extra building tools required on
 Windows. I have unzipped files to same folder.

 I was following instructions given in your wiki.
 I installed required tools and set PATH variable.
 Next I run ./configure and it finished successfully, but when I have
 executed make, it has stopped with errors

 In a block below there is an output of make.


 {{{
 ===--- building phase 0
 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
 make[1]: Nothing to be done for `phase_0_builds'.
 ===--- building phase 1
 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
 make[1]: Nothing to be done for `phase_1_builds'.
 ===--- building final phase
 make -r --no-print-directory -f ghc.mk phase=final all
 driver/ghci/ghc.mk:39: driver/ghci/dist/build/.depend.c_asm: No such file
 or directory
 rts/ghc.mk:515: rts/dist/build/.depend-v-p-l-debug-thr-thr_debug-thr_l-
 thr_p.c_asm: No such file or directory
 libraries/old-time/ghc.mk:5: libraries/old-time/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/old-time/ghc.mk:5: libraries/old-time/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/haskell98/ghc.mk:5: libraries/haskell98/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/haskell98/ghc.mk:5: libraries/haskell98/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/haskell2010/ghc.mk:5: libraries/haskell2010/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/haskell2010/ghc.mk:5: libraries/haskell2010/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/ghc-prim/ghc.mk:4: libraries/ghc-prim/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/ghc-prim/ghc.mk:4: libraries/ghc-prim/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/integer-gmp/ghc.mk:4: libraries/integer-gmp/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/integer-gmp/ghc.mk:4: libraries/integer-gmp/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/base/ghc.mk:4: libraries/base/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/base/ghc.mk:4: libraries/base/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/filepath/ghc.mk:4: libraries/filepath/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/filepath/ghc.mk:4: libraries/filepath/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/array/ghc.mk:4: libraries/array/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/array/ghc.mk:4: libraries/array/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/deepseq/ghc.mk:4: libraries/deepseq/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/deepseq/ghc.mk:4: libraries/deepseq/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/bytestring/ghc.mk:4: libraries/bytestring/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/bytestring/ghc.mk:4: libraries/bytestring/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/containers/ghc.mk:4: libraries/containers/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/containers/ghc.mk:4: libraries/containers/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/old-locale/ghc.mk:4: libraries/old-locale/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/old-locale/ghc.mk:4: libraries/old-locale/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/Win32/ghc.mk:4: libraries/Win32/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/Win32/ghc.mk:4: libraries/Win32/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/time/ghc.mk:4: libraries/time/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/time/ghc.mk:4: libraries/time/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/directory/ghc.mk:4: libraries/directory/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/directory/ghc.mk:4: libraries/directory/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/process/ghc.mk:4: libraries/process/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/process/ghc.mk:4: libraries/process/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/hpc/ghc.mk:4: libraries/hpc/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/hpc/ghc.mk:4: libraries/hpc/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/pretty/ghc.mk:4: libraries/pretty/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/pretty/ghc.mk:4: libraries/pretty/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/template-haskell/ghc.mk:4: libraries/template-haskell/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/template-haskell/ghc.mk:4: libraries/template-haskell/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/Cabal/Cabal/ghc.mk:4: libraries/Cabal/Cabal/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/Cabal/Cabal/ghc.mk:4: libraries/Cabal/Cabal/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/binary/ghc.mk:4: libraries/binary/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/binary/ghc.mk:4: libraries/binary/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/bin-package-db/ghc.mk:4: libraries/bin-package-db/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/bin-package-db/ghc.mk:4: libraries/bin-package-db/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/hoopl/ghc.mk:4: libraries/hoopl/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/hoopl/ghc.mk:4: libraries/hoopl/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/transformers/ghc.mk:4: libraries/transformers/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/transformers/ghc.mk:4: libraries/transformers/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/xhtml/ghc.mk:4: libraries/xhtml/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/xhtml/ghc.mk:4: libraries/xhtml/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/haskeline/ghc.mk:4: libraries/haskeline/dist-
 install/build/.depend-v-p.haskell: No such file or directory
 libraries/haskeline/ghc.mk:4: libraries/haskeline/dist-
 install/build/.depend-v-p.c_asm: No such file or directory
 libraries/integer-gmp/mkGmpDerivedConstants/ghc.mk:20: libraries/integer-
 gmp/mkGmpDerivedConstants/dist/build/.depend.c_asm: No such file or
 directory
 utils/haddock/ghc.mk:15: utils/haddock/dist/build/.depend.haskell: No such
 file or directory
 utils/haddock/ghc.mk:15: utils/haddock/dist/build/.depend.c_asm: No such
 file or directory
 compiler/ghc.mk:640: compiler/stage2/build/.depend-v-p.haskell: No such
 file or directory
 make -C libffi/build MAKEFLAGS= install
 MAKE i686-pc-mingw32 : 0 * install
 make[3]: Entering directory `/c/ghc-7.8.3/libffi/build/i386-unknown-
 mingw32'
 Making install in include
 make[4]: Entering directory `/c/ghc-7.8.3/libffi/build/i386-unknown-
 mingw32/include'
 make[5]: Entering directory `/c/ghc-7.8.3/libffi/build/i386-unknown-
 mingw32/include'
 make[5]: Nothing to be done for `install-exec-am'.
 test -z "c:/ghc-7.8.3/libffi/build/inst/lib/libffi-3.0.11/include" ||
 /c/MinGHC/msys/1.0/bin/mkdir -p
 "c:/ghc-7.8.3/libffi/build/inst/lib/libffi-3.0.11/include"
  ../install-sh -c -m 644 ffi.h ffitarget.h
 'c:/ghc-7.8.3/libffi/build/inst/lib/libffi-3.0.11/include'
 /bin/sh: line 7: ../install-sh: No such file or directory
 make[5]: *** [install-nodist_includesHEADERS] Error 127
 make[5]: Leaving directory `/c/ghc-7.8.3/libffi/build/i386-unknown-
 mingw32/include'
 make[4]: *** [install-am] Error 2
 make[4]: Leaving directory `/c/ghc-7.8.3/libffi/build/i386-unknown-
 mingw32/include'
 make[3]: *** [install-recursive] Error 1
 make[3]: Leaving directory `/c/ghc-7.8.3/libffi/build/i386-unknown-
 mingw32'
 make[2]: *** [install] Error 2
 make[1]: *** [libffi/stamp.ffi.static.install] Error 2
 make: *** [all] Error 2
 }}}

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


More information about the ghc-tickets mailing list