[Haskell-cafe] Yi pre-release

Bas van Dijk v.dijk.bas at gmail.com
Sat Apr 7 18:13:48 EDT 2007

On 4/6/07, Jean-Philippe Bernardy <jeanphilippe.bernardy at gmail.com> wrote:
> Hello folks,
> More that two years after the 0.1.0 release, I would like to attract
> people's attention to recent developments on the Yi editor. This
> preview release is an attempt to gather more users, testers and
> hopefully contributors for an upcoming "stable" release.
> Yi is a text editor written and extensible in Haskell. The goal of Yi is
> to provide a flexible, powerful and correct editor core dynamically
> scriptable in Haskell.
>   * Yi is an haskell interpreter. Much like emacs is a Lisp
> interpreter, Yi is an haskell interpreter.  This is implemented by
> binding to the GHC API.  This permits hacking of the editor
> behaviour at runtime. Tools and goodies written in haskell are also readily
> available from the editor.
>   * Frontends. Yi can use either gtk2hs or vty as frontends, so users
> can choose their favourite interface.
>   * "Emulation modes". The primary emulation modes for Yi are vi and
> emacs. Keybindings for vim, mg and nano and other are also
> provided. Other editor interfaces can be written by the user to extend
> Yi.
> More information is available on:
>         http://haskell.org/haskellwiki/Yi
> Darcs repo:
>         http://www.cse.unsw.edu.au/~dons/yi/
> Yi homepage:
>         http://www.cse.unsw.edu.au/~dons/yi.html
> Patches, comments, criticism welcome... as always!
> -- Jean-Philippe Bernardy
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

I'm trying to install yi but I get the following error:

bas at bassbox ~/development/haskell/yi $ runhaskell Setup.hs configure
--user --prefix=$HOME
Configuring yi-0.2...
configure: Dependency ghc>=6.6: using ghc-6.6
configure: Dependency base-any: using base-2.0
configure: Dependency mtl-any: using mtl-1.0
configure: Dependency regex-posix-any: using regex-posix-0.71
configure: Using install prefix: /home/bas
configure: Binaries installed in: /home/bas/bin
configure: Libraries installed in: /home/bas/lib/yi-0.2/ghc-6.6
configure: Private binaries installed in: /home/bas/libexec
configure: Data files installed in: /home/bas/share/yi-0.2
configure: Using compiler: /usr/bin/ghc
configure: Compiler flavor: GHC
configure: Compiler version: 6.6
configure: Using package tool: /usr/bin/ghc-pkg
configure: Using ar found on system at: /usr/bin/ar
configure: Using haddock found on system at: /usr/bin/haddock
configure: No pfesetup found
configure: Using ranlib found on system at: /usr/bin/ranlib
configure: Using runghc found on system at: /usr/bin/runghc
configure: Using runhugs found on system at: /usr/bin/runhugs
configure: Using happy: /usr/bin/happy
configure: Using alex: /usr/bin/alex
configure: Using hsc2hs: /usr/bin/hsc2hs
configure: Using c2hs: /usr/bin/c2hs
configure: Using cpphs: /usr/bin/cpphs
configure: No greencard found

bas at bassbox ~/development/haskell/yi $ runhaskell Setup.hs build
*** Exception: failed to extract ghc path from command line

I thought it had something to do with an older version of Cabal
because the README lists Cabal 1.1.8 as a dependency. So I build a
fresh Cabal from darcs and installed it in my user database:

bas at bassbox ~/development/haskell/yi $ ghc-pkg -L
    (Cabal-1.1.6), Cabal-, FilePath-0.11, GLUT-2.0, HUnit-1.1,
    HaXml-1.13.2, OpenGL-2.1, QuickCheck-1.0, X11-1.2, X11-extras-0.0,
    arrows-0.2, base-2.0, cpphs-1.2, fgl-5.3, (ghc-6.6),
    haskell-src-1.0, haskell98-1.0, hsql-1.7, hsql-mysql-1.7, html-1.0,
    mtl-1.0, network-2.0, parsec-2.0, readline-1.0, regex-base-0.71,
    regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0,
    template-haskell-2.0, time-1.0, unix-1.0, xhtml-2006.9.13
    Cabal-1.1.7, DeepArrow-0.0, HAppS-0.8.8, HList-0.1, SDL-0.4.0,
    SDL-image-0.4.0, WashNGo-2.10, binary-0.2, haskelldb-0.10,
    haskelldb-hsql-0.10, haskelldb-hsql-mysql-0.10

but the error remains...

What can be the problem?


Bas van Dijk

More information about the Haskell-Cafe mailing list