Looks like ubuntu 14.04 uses ghc 7.6: http://packages.ubuntu.com/trusty/ghc
Latest versions of yi can be compiled with either ghc 7.8 or ghc 7.10. Both
of these are available as ubuntu packages at
https://launchpad.net/~hvr/+archive/ubuntu/ghc?field.series_filter=trusty

On Wed, Aug 26, 2015 at 11:08 PM, Michael King <maaronk...@gmail.com> wrote:

> When compiling the yi-language package while installing yi on ubuntu
> 14.04, I get the following errors:
>
> [9 of 32] Compiling Yi.Lexer.Abella  (
> dist/dist-sandbox-ffaf3582/build/Yi/Lexer/Abella.hs,
> dist/dist-sandbox-ffaf3582/build/Yi/Lexer/Abella.o )
>
> src/Yi/Lexer/common.hsinc:55:40-53:
>     Couldn't match expected type `Int#' with actual type `Bool'
>     In the expression: (offset >=# 0#)
>     In the first argument of `(&&)', namely
>       `(tagToEnum# (offset >=# 0#))'
>     In the expression:
>       (tagToEnum# (offset >=# 0#)) && (tagToEnum# (check ==# ord_c))
>
> src/Yi/Lexer/common.hsinc:55:73-88:
>     Couldn't match expected type `Int#' with actual type `Bool'
>     In the expression: (check ==# ord_c)
>     In the second argument of `(&&)', namely
>       `(tagToEnum# (check ==# ord_c))'
>     In the expression:
>       (tagToEnum# (offset >=# 0#)) && (tagToEnum# (check ==# ord_c))
> Failed to install yi-language-0.2.0
> cabal: Error: some packages failed to install:
> yi-language-0.2.0 failed during the building phase. The exception was:
> ExitFailure 1
>
>
> My Cabal version is 1.22.4.0 and cabal-instal version is 1.22.6.0.
>
> I am relatively new to haskell and excited to try out yi.  Thank you for
> your time.
>
> Michael K.
>
> --
> --
> 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/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to