From: Ruben Z. <rzi...@ya...> - 2007-01-01 09:37:58
|
Ok, sorry... I've fixed my own error message. It was simply a matter of upgrading from ghc 6.4.1 to ghc 6.6. Note: you say in the CHANGES.txt file that ghc 6.4 is required to build. According to what I'm saying that isn't right. Whilst the ./configure; make; make install process went alright, I can't build the Samples. Here is the error I got trying to build to ExpressionParser: mkdir -p build ghc --make Main.hs -odir build -hidir build -O -o ExpressionParser [1 of 3] Compiling ExpressionParser ( ExpressionParser.hs, build/ ExpressionParser.o ) [2 of 3] Compiling EPController ( EPController.hs, build/ EPController.o ) EPController.hs:9:0: parse error on input `$' make: *** [ExpressionParser] Error 1 I don't know what causes the error as I don't really understand hoc very well at this point. Any suggestions are welcome however. Regards, Ruben On 01/01/2007, at 3:42 PM, Ruben Zilibowitz wrote: > I just checked out hoc from cvs and followed the instructions in > BUILDING.CVS and received the following error: > > ./HOC/TH.hs:45:24: > Constructor `NameG' should have 2 arguments, but has been given 3 > When checking the pattern: Name _ (NameG _ pkg mod) > In a case alternative: Name _ (NameG _ pkg mod) -> NameG ns > pkg mod > In the case expression: > case n of > Name _ (NameG _ pkg mod) -> NameG ns pkg mod > Name _ other -> other > make[1]: *** [ghcmake.build-stamp] Error 1 > > I'm not sure if this error has been reported before or not. I > couldn't see it mentioned on the archives for this mailing list, so I > thought I would post a question about it. Can anyone suggest a fix > for this? > > Thanks, > > Ruben Zilibowitz > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > hoc-devel mailing list > hoc...@li... > https://lists.sourceforge.net/lists/listinfo/hoc-devel |