
Duncan Coutts wrote:
On Mon, 2007-12-10 at 10:40 +0000, Andrew Coppin wrote:
What do I need to compile the darcs version? Just GHC? Or do I need the GTK+ header files? (Remember, I'm on Windows here.)
Ah, that's a bit harder. It's not for the feint of heart.
I've not updated the instructions in a while. The old ones are here: http://haskell.org/gtk2hs/archives/2005/06/24/building-from-source-on-window...
but we now use the official Gtk+ windows binaries and headers rather than the ones from http://gladewin32.sourceforge.net/
Our new header bundles are here: http://haskell.org/gtk2hs/win32/ and scripts are here: http://darcs.haskell.org/gtk2hs/tools/win32/ You'd want the win32-build-* ones.
You also need mingw of course. I would not recommend starting from darcs but from a tarball and then copying over the two changed files from darcs. The reason for that is that trying to get autoconf and automake working on windows is more trouble than it's worth (I've never done it) where as the tarball contains pre-generated autoconf/automake stuff.
Duncan
Uh... or maybe I could just wait until the next binary release. :-} *runs away*