Friday, May 28, 2010

Gtk2hs and Leksah on Windows, check!

Things have moved since I posted about the difficulty of being a Haskell programmer on Windows. Now, Gtk2hs has been cabalized and put on Hackage. I went into my MSYS prompt, and it installed like a charm! I've downloaded the latest version of Leksah, and it installed and started properly! As I write this I've seen the initial Leksah screen, and it's now busy referencing my packages (I wonder if giving it the location where Cabal stores the packages it downloads was a good idea, it seem to be taking a while...). 
So I think now all the things I was struggling to get working are now installed and doing fine on my Windows 7 machine! There is hope!

4 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...

Hmmm... I'm having problems:

Registering leksah-server-0.8.0.8...
cabal.exe: Error: some packages failed to install:
gtksourceview2-0.11.1 failed during the configure step. The exception was:
ExitFailure 1
leksah-0.8.0.8 depends on gtksourceview2-0.11.1 which failed to install.

and if I retry "cabal install gtksourceview2" I see this:

Configuring gtksourceview2-0.12.2...
setup.exe: The pkg-config package gtksourceview-2.0 version >=2.0.2 is
required but it could not be found.
cabal.exe: Error: some packages failed to install:
gtksourceview2-0.12.2 failed during the configure step. The exception was:
ExitFailure 1

JP Moresmau said...

Maybe try with -verbose or something to see if you get more telling messages. Are you in a MSYS environment?

Matthew said...

That error appears to mean that the underlying gtksourceview2-0 C development library is missing