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:
cabal-dev, installed from github repo with:
runhaskell -isrc admin/bootstrap
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With