can't build head: parser file name / module name conflict

Simon Marlow marlowsd at gmail.com
Thu Aug 22 09:28:18 CEST 2013


On 19/08/13 21:16, Carter Schonwald wrote:
> hey all,
> i'm trying to build head to test out some stuff, and i'm hitting the
> following error message (http://ghc.haskell.org/trac/ghc/ticket/8143 )
>
> compiler/stage1/build/Parser.hs:1:1:
>      File name does not match module name:
>      Saw: `Main'
>      Expected: `Parser'
> make[1]: *** [compiler/stage1/build/.depend-v.haskell] Error 1

Possibly your Parser.hs is corrupt somehow - take a look.  Remove the 
file and try again?

Cheers,
	Simon






More information about the ghc-devs mailing list