Hi all, I'm having some troubles compiling yi and I was hoping I could get some assistance. I'm currently on the latest commit on the `vim2` branch.
$ git branch --list | grep '*' * vim2 $ git log -1 commit 8068e7e00d1ede1ee3098272ad2db58bd0dbd696 Author: Dmitry Ivanov <ethercrow AT gmail DOT com> Date: Mon Jul 22 20:40:31 2013 +0700 Fix error on :<CR> I've configured with a small feature set: $ cabal configure --enable-tests -f vty Resolving dependencies... Configuring yi-0.6.6.1... and when I build I get the following errors: $ cabal build Building yi-0.6.6.1... Preprocessing library yi-0.6.6.1... <snip> src/library/Yi/Lexer/common.hsinc:66:17: Not in scope: data constructor `AlexAccNone' Perhaps you meant `AlexNone' (line 267) The version of `alex` I'm using claims to be supported: $ alex --version Alex version 3.0.5, (c) 2003 Chris Dornan and Simon Marlow $ grep alex yi.cabal build-tools: alex >= 3.0.3 && <= 3.0.5 build-tools: alex >= 3.0.3 && <= 3.0.5 I've noticed that a recent commit to `src/library/Yi/Lexer/common.hsinc` changed `AlexNone` to `AlexAccNone`, so I tried reverting that commit. Whilst it fixed that particular error message, I ended up with another: $ cabal build src/library/Yi/Lexer/common.hsinc:44:29: Couldn't match type `[AlexAcc a1 t0]' with `AlexAcc (Yi.Lexer.Alex.Action lexState0 Token) user0' Expected type: a0 i0 e0 Actual type: Array Int (AlexAcc (Yi.Lexer.Alex.Action lexState0 Token) user0) In the first argument of `quickIndex', namely `alex_accept' In the first argument of `check_accs', namely `(alex_accept `quickIndex` (I# (s)))' In the expression: check_accs (alex_accept `quickIndex` (I# (s))) It seems that I'm likely headed down a rabbit hole trying to resolve this myself. Is anyone able to help me please? Thanks, Ben Armston -- -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel --- You received this message because you are subscribed to the Google Groups "yi.devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.