Hi all

I'm currently experiencing a compile error which I'm not sure how to 
fix, or even what is causing this. I'm guessing I'm using some incorrect 
version of one of the dependencies but I can't figure out which.

Here is the error I'm getting:
Yi/Buffer/Implementation.hs:462:59:
     No instance for (RegexLike Regex LazyUTF8.ByteString)
       arising from a use of `matchAll'
                    at Yi/Buffer/Implementation.hs:462:59-69
     Possible fix:
       add an instance declaration for
       (RegexLike Regex LazyUTF8.ByteString)
     In the first argument of `($)', namely `matchAll re'
     In the second argument of `($)', namely
         `matchAll re $ F.toLazyByteString $ F.drop p $ mem fb'
     In the expression:
           fmap (fmapRegion addPoint . matchedRegion)
         $   matchAll re $ F.toLazyByteString $ F.drop p $ mem fb


Here is the listing for what seems to be the relevant packages:

$ cabal list regex-base regex-tdfa bytestring
  * bytestring
       Latest version available: 0.9.1.0
       Latest version installed: 0.9.1.0
       Homepage: http://www.cse.unsw.edu.au/~dons/fps.html
       Synopsis: Fast, packed, strict and lazy byte arrays with a list 
interface
       License:  BSD3

  regex-base
       Latest version available: 0.93.1
       Latest version installed: 0.93.1
       Homepage: http://sourceforge.net/projects/lazy-regex
       Category: Text
       Synopsis: Replaces/Enhances Text.Regex
       License:  BSD3

  * regex-tdfa
       Latest version available: 0.94
       Latest version installed: 0.94
       Homepage: http://sourceforge.net/projects/lazy-regex
       Category: Text
       Synopsis: Replaces/Enhances Text.Regex
       License:  BSD3


And finally here is the output from cabal configure:

i$ cabal configure -f shim
Configuring yi-0.4...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package ghc-6.8.3 requires Cabal-1.2.4.0
package yi-0.4 requires Cabal-1.4.0.1
package vty-3.0.2 requires bytestring-0.9.0.1.1
package regex-tdfa-0.94 requires bytestring-0.9.0.1.1
package ghc-6.8.3 requires bytestring-0.9.0.1.1
package cairo-0.9.13 requires bytestring-0.9.0.1.1
package yi-0.4 requires bytestring-0.9.1.0
package utf8-string-0.3.1.1 requires bytestring-0.9.1.0
package regex-base-0.93.1 requires bytestring-0.9.1.0
package parsec-3.0.0 requires bytestring-0.9.1.0
package regex-tdfa-0.94 requires parsec-2.1.0.1
package yi-0.4 requires parsec-3.0.0


regards
allan

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to