Last active
October 15, 2015 05:19
-
-
Save hhefesto/4c62d463ddfcfffbf211 to your computer and use it in GitHub Desktop.
ghc compilation error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ghc git:(ghc-stable) ✗ make | |
===--- building phase 0 | |
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds | |
libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-boot/package-data.mk: No such file or directory | |
"/usr/bin/ghc" -H32m -O \ | |
-optc-fno-stack-protector \ | |
\ | |
--make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal \ | |
-no-user-package-db \ | |
-Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \ | |
-DCABAL_VERSION=1,23,0,0 \ | |
-DBOOTSTRAPPING \ | |
-optP-include -optPutils/ghc-cabal/cabal_macros_boot.h \ | |
-odir bootstrapping \ | |
-hidir bootstrapping \ | |
-ilibraries/Cabal/Cabal \ | |
-ilibraries/binary/src -DGENERICS \ | |
-ilibraries/filepath \ | |
-ilibraries/hpc \ | |
[92 of 92] Compiling Main ( utils/ghc-cabal/Main.hs, bootstrapping/Main.o ) | |
utils/ghc-cabal/Main.hs:303:52: | |
Not in scope: ‘componentLibraries’ | |
Perhaps you meant ‘componentLibraryName’ (imported from Distribution.Simple.LocalBuildInfo) | |
utils/ghc-cabal/Main.hs:304:25: | |
‘componentLibraries’ is not a (visible) constructor field name | |
utils/ghc-cabal/Main.hs:441:65: Not in scope: ‘pkgKey’ | |
utils/ghc-cabal/Main.hs:443:89: Not in scope: ‘pkgKey’ | |
utils/ghc-cabal/ghc.mk:34: recipe for target 'utils/ghc-cabal/dist/build/tmp/ghc-cabal' failed | |
make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1 | |
Makefile:71: recipe for target 'all' failed | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment