Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Yi buildable on Windows?

Is it possible to build the Haskell's Yi editor in Windows?

UPDATE: I fixed the previous error by installing cabal-dev but now the next one I get is:

C:\Data\yi> cabal-dev install -f-vty -fpango
...
Loading package cairo-0.12.4 ... cabal.exe: Error: some packages failed to insta
ll:
yi-0.6.6.1 failed during the building phase. The exception was:
ExitFailure 1

so I'm wandering is it even compatible with Windows?

My system spec:

  1. Windows 8 64bit
  2. Haskell Platform (GHC 7.4.2)
  3. cabal-dev, installed from github repo with:

    runhaskell -isrc admin/bootstrap
    
  4. Gtk installed as per wiki instructions.
like image 986
Andriy Drozdyuk Avatar asked Apr 03 '12 03:04

Andriy Drozdyuk


1 Answers

The HaskellWiki page says yes, as long as you install with -f-vty -fpango. It might be out of date, though; Yi development was dormant for a while.

As far as the error you get when trying to install glib, that doesn't have anything to do with Yi; you just need the pkg-config program to install Gtk2Hs (of which the glib package is a component). These resources might help you get Gtk2Hs installed:

  • HaskellWiki page about installing Gtk2Hs on Windows

  • A blog post about the same (circa 2010, so it might be a bit out of date)

  • Gtk2Hs' INSTALL file

like image 65
ehird Avatar answered Sep 22 '22 16:09

ehird