I can't seem to get Yi to compile after installing this patch:

$ cabal install -f-cocoa
Resolving dependencies...
Configuring yi-0.4.4...
Preprocessing library yi-0.4.4...
Preprocessing executables for yi-0.4.4...
Building yi-0.4.4...
[ 4 of 91] Compiling Paths_yi         ( dist/build/autogen/
Paths_yi.hs, dist/build/Paths_yi.o )
[ 9 of 91] Compiling Yi.UI.Common[boot] ( Yi/UI/Common.hs-boot, dist/
build/Yi/UI/Common.o-boot )
[16 of 91] Compiling Yi.Editor[boot]  ( Yi/Editor.hs-boot, dist/build/
Yi/Editor.o-boot )
[44 of 91] Compiling Yi.Buffer.Implementation ( Yi/Buffer/
Implementation.hs, dist/build/Yi/Buffer/Implementation.o )

Yi/Buffer/Implementation.hs:568:72:
    No instance for (Binary StyleName)
      arising from a use of `get'
                   at Yi/Buffer/Implementation.hs:568:72-74
    Possible fix: add an instance declaration for (Binary StyleName)
    In the second argument of `ap', namely `get'
    In the expression:
        ap (ap (ap (ap (return Overlay) get) get) get) get
    In a case alternative:
        0 -> ap (ap (ap (ap (return Overlay) get) get) get) get
cabal: Error: some packages failed to install:
yi-0.4.4 failed during the building phase. The exception was:
exit: ExitFailure 1

Was the StyleName instance for Binary not checked in, or do I need to
install some other package which wasn't installed automatically for
some reason?

On Sep 10, 8:41 am, Jean-Philippe Bernardy
<[EMAIL PROTECTED]> wrote:
> Wed Sep 10 09:40:37 EDT 2008 [EMAIL PROTECTED]
>   * some instances for Binary
>
>     M ./Data/ByteRope.hs +4
>     M ./Yi/Buffer/Basic.hs -7 +25
>     M ./Yi/Buffer/Implementation.hs -3 +40
>     M ./Yi/Prelude.hs -8 +4
>     M ./Yi/Regex.hs +3
>     M ./yi.cabal -2 +4
>
> View patch online:
>
>  http://code.haskell.org/yi/_darcs/patches/20080910134037-9c550-9ee90c...
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to