Installing Yi With GTK Frontend

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing Yi With GTK Frontend

aditya siram-2
Hi all,
I am having issues installing Yi with the GTK frontend. I have GTK2hs
installed correctly but when I do 'yi --help' I get:
Usage: yi [option...] [file]
                 --self-check           run self-checks
  -f [frontend]  --frontend=[frontend]  Select frontend, which can be one
of:
                                        vty
  -y path        --config-file=path     Specify a configuration file
  -V             --version              Show version information
  -h             --help                 Show this help
                 --debug                Write debug information in a log
file
  -l [num]       --line=[num]           Start on line number
                 --as=[editor]          Start with editor keymap, where
editor is one of:
                                        emacs, vim, cua
                 --recompile-force      Force recompile of custom yi before
starting
                 --resume               Resume execution of yi from previous
state
                 --recompile            Recompile custom yi if required then
exit
                 --ghc-options=[flags]  Flags to pass to GHC

Does Yi need a specific version of Gtk2hs?
Thanks ...
-deech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20090417/b8ce2fe0/attachment.htm
Reply | Threaded
Open this post in threaded view
|

Installing Yi With GTK Frontend

Jeff Wheeler-2
On Fri, 2009-04-17 at 13:11 -0500, aditya siram wrote:

> I am having issues installing Yi with the GTK frontend. I have GTK2hs
> installed correctly but when I do 'yi --help' I get:

> Does Yi need a specific version of Gtk2hs?

It should work on 0.10; I'm not sure about earlier versions.

What happens if you try to run `cabal install yi -fpango`? Also, can you
try installing the development version? That might provide more insight
the problem, as I'm not immediately sure what's wrong.

To get the latest version from the darcs repository, try this:

$ darcs get http://code.haskell.org/yi/
$ cd yi
$ cabal install -fpango

And then, try execution via (the -fpango should be the default, but no
harm in being verbose)

$ yi -fpango

Do you get any errors at this point?

Jeff Wheeler

(Oh, and I apologize to aditya siram; I initially sent this message
privately, rather than to the list.)