Re: mkExprStmt not in scope in Parser.hs issue.
IIRC, I had to manually remove a 'Parser.y' file to get things rolling. Cheers, Gabor On 10/29/12, Karel Gardas karel.gar...@centrum.cz wrote: Hello, I'm trying to get GHC HEAD compilation working on my freshly installed Solaris 11/x86 box and I'm trying to solve following error now: /opt/ghc-7.4.2/bin/ghc -static -H32m -O -package-conf libraries/bootstrapping.conf -package-name ghc-7.7 -hide-all-packages -i -icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main -icompiler/nativeGen -icompiler/parser -icompiler/prelude -icompiler/profiling -icompiler/rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils -icompiler/vectorise -icompiler/stage1/build -icompiler/stage1/build/autogen -Icompiler/stage1/build -Icompiler/stage1/build/autogen -Icompiler/stage1 -Icompiler/. -Icompiler/parser -Icompiler/utils-optP-include -optPcompiler/stage1/build/autogen/cabal_macros.h -package Cabal-1.17.0 -package array-0.4.0.0 -package base-4.5.1.0 -package bin-package-db-0.0.0.0 -package bytestring-0.9.2.1 -package containers-0.4.2.1 -package directory-1.1.0.2 -package filepath-1.3.0.0 -package hoopl-3.9.0.0 -package hpc-0.6.0.0 -package old-time-1.1.0.0 -package process-1.1.0.1 -package time-1.4 -package unix-2.5.1.1 -Wall -fno-warn-name-shadowing -XHaskell98 -XNondecreasingIndentation -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRankNTypes -XScopedTypeVariables -XDeriveDataTypeable -XBangPatterns -DSTAGE=1 -no-user-package-conf -rtsopts -odir compiler/stage1/build -hidir compiler/stage1/build -stubdir compiler/stage1/build -hisuf hi -osuf o -hcsuf hc -c compiler/stage1/build/Parser.hs -o compiler/stage1/build/Parser.o compiler/stage1/build/Parser.hs:6705:45: Not in scope: `mkExprStmt' gmake[1]: *** [compiler/stage1/build/Parser.o] Error 1 gmake: *** [all] Error 2 I'm bootstraping with GHC 7.4.2 and happy is 1.18.6 version and alex is 2.3.5 if this is important. Is there any idea what causes this failure? The HEAD is as of today. Thanks! Karel ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc
Re: mkExprStmt not in scope in Parser.hs issue.
This works, indeed! Thanks a lot for this fast help! Karel On 10/29/12 11:07 PM, Gabor Greif wrote: IIRC, I had to manually remove a 'Parser.y' file to get things rolling. Cheers, Gabor On 10/29/12, Karel Gardaskarel.gar...@centrum.cz wrote: Hello, I'm trying to get GHC HEAD compilation working on my freshly installed Solaris 11/x86 box and I'm trying to solve following error now: /opt/ghc-7.4.2/bin/ghc -static -H32m -O -package-conf libraries/bootstrapping.conf -package-name ghc-7.7 -hide-all-packages -i -icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main -icompiler/nativeGen -icompiler/parser -icompiler/prelude -icompiler/profiling -icompiler/rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils -icompiler/vectorise -icompiler/stage1/build -icompiler/stage1/build/autogen -Icompiler/stage1/build -Icompiler/stage1/build/autogen -Icompiler/stage1 -Icompiler/. -Icompiler/parser -Icompiler/utils-optP-include -optPcompiler/stage1/build/autogen/cabal_macros.h -package Cabal-1.17.0 -package array-0.4.0.0 -package base-4.5.1.0 -package bin-package-db-0.0.0.0 -package bytestring-0.9.2.1 -package containers-0.4.2.1 -package directory-1.1.0.2 -package filepath-1.3.0.0 -package hoopl-3.9.0.0 -package hpc-0.6.0.0 -package old-time-1.1.0.0 -package process-1.1.0.1 -package time-1.4 -package unix-2.5.1.1 -Wall -fno-warn-name-shadowing -XHaskell98 -XNondecreasingIndentation -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRankNTypes -XScopedTypeVariables -XDeriveDataTypeable -XBangPatterns -DSTAGE=1 -no-user-package-conf -rtsopts -odir compiler/stage1/build -hidir compiler/stage1/build -stubdir compiler/stage1/build -hisuf hi -osuf o -hcsuf hc -c compiler/stage1/build/Parser.hs -o compiler/stage1/build/Parser.o compiler/stage1/build/Parser.hs:6705:45: Not in scope: `mkExprStmt' gmake[1]: *** [compiler/stage1/build/Parser.o] Error 1 gmake: *** [all] Error 2 I'm bootstraping with GHC 7.4.2 and happy is 1.18.6 version and alex is 2.3.5 if this is important. Is there any idea what causes this failure? The HEAD is as of today. Thanks! Karel ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc
Re: mkExprStmt not in scope in Parser.hs issue.
On Mon, Oct 29, 2012 at 11:07 PM, Gabor Greif wrote: IIRC, I had to manually remove a 'Parser.y' file to get things rolling. That's exactly it. I just ran into this problem myself. It's due to a recent change that meant Parser.y was not getting removed/rebuilt in its old location. http://hackage.haskell.org/trac/ghc/changeset/80fcdd69172f2e9d50b2d058c48dbc6074b7a65c Regards, Sean ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc