[Haskell-beginners] Running Yi 0.4.3

Niels Aan de Brugh nielsadb at gmail.com
Sat Aug 23 18:53:04 EDT 2008


Hi there,

I'm having some trouble installing and running Yi 0.4.3. I just compiled 
and installed Yi, after disabling parsec-3.0.0 and recompiling 
regex-tdfa first (Yi requires a 2.x version, regex takes whatever it can 
get, including 3.0.0). Here's a short excerpt from my console (newlines 
inserted for readability).

niels(~/src/yi-0.4.3): sudo runhaskell Setup.hs install
Installing: /usr/local/lib/yi-0.4.3/ghc-6.8.2
Installing: /usr/local/bin
Registering yi-0.4.3...
Reading package info from "dist/installed-pkg-config" ... done.
Saving old package config file... done.
Writing new package config file... done.

niels(~): mkdir .yi
niels(~): cd .yi/

niels(~/.yi): cp /home/niels/src/yi-0.4.3/examples/yi.hs .

niels(~/.yi): yi
Launching custom yi: "/home/niels/.yi/yi-i386-linux"
yi: exception :: System.Glib.GError.GError

niels(~/.yi): yi --frontend=pango
Launching custom yi: "/home/niels/.yi/yi-i386-linux"
yi-i386-linux: exception :: System.Glib.GError.GError

niels(~/.yi): yi --frontend=gtk
Launching custom yi: "/home/niels/.yi/yi-i386-linux"
yi-i386-linux: exception :: System.Glib.GError.GError

niels(~/.yi): ghc-pkg list
/usr/lib/ghc-6.8.2/package.conf:
    (Cabal-1.2.3.0), Cabal-1.4.0.1, (Cabal-1.5.1), Crypto-4.1.0,
    HTTP-3001.0.4, HUnit-1.2.0.0, HaXml-1.13.3, QuickCheck-1.1.0.0,
    Stream-0.2.2, X11-1.4.1, array-0.1.0.0, arrows-0.3, base-3.0.1.0,
    binary-0.4.1, bitset-0.6, bloomfilter-1.2.1, bytestring-0.9.0.1,
    cairo-0.9.12.1, cairo-0.9.13, containers-0.1.0.1,
    directory-1.0.0.0, fgl-5.4.1.1, filepath-1.1.0.0, fingertree-0.0,
    gconf-0.9.12.1, gconf-0.9.13, (ghc-6.8.2), glade-0.9.12.1,
    glade-0.9.13, glib-0.9.12.1, glib-0.9.13, gnomevfs-0.9.13,
    gstreamer-0.9.13, gtk-0.9.12.1, gtk-0.9.13, gtkglext-0.9.12.1,
    gtkglext-0.9.13, haddock-2.1.0, haskell98-1.0.1.0, hpc-0.5.0.0,
    html-1.0.1.1, hxt-8.0.0, mtl-1.1.0.0, network-2.1.0.0,
    old-locale-1.0.0.0, old-time-1.0.0.0, packedstring-0.1.0.0,
    pandoc-0.46, parallel-1.0.0.0, parsec-2.1.0.0, pretty-1.0.0.0,
    process-1.0.0.0, pureMD5-0.2.3, random-1.0.0.0, readline-1.0.1.0,
    regex-base-0.72.0.1, regex-base-0.93.1, regex-compat-0.71.0.1,
    regex-compat-0.91, regex-posix-0.72.0.2, regex-posix-0.93.1,
    regex-tdfa-0.94, rts-1.0, soegtk-0.9.13, sourceview-0.9.12.1,
    sourceview-0.9.13, svgcairo-0.9.13, tagsoup-0.6,
    template-haskell-2.2.0.0, time-1.1.2.0, unix-2.3.0.0,
    utf8-string-0.3.1, vty-3.0.1, wx-0.10.3, wxcore-0.10.3,
    xhtml-3000.0.2.1, xmonad-0.6, xmonad-contrib-0.6, yi-0.4.3

niels(~/.yi): dpkg -l | grep libghc6-gtk
ii  libghc6-gtk-dev                            
0.9.12.1-1ubuntu2                                    A GUI library for 
Haskell (Gtk2Hs) -- GTK+ b
ii  libghc6-gtkglext-dev                       
0.9.12.1-1ubuntu2                                    A GUI library for 
Haskell (Gtk2Hs) -- gtkgle

I'm running a recent version of Ubuntu Linux and GHC 6.8.2.

Does anyone know what mistake I'm making? I'd really like to replace Vim 
for Yi for Haskell source file editing some day but up until now this is 
actually the first time I got Yi to compile.

Regards,
Niels




More information about the Beginners mailing list