Gtk2Hs in Windows (next question :) )

Hello, this is a question only for the gtk2hs users on this list. It might be the wrong list, and I could probably figure it out myself given enough time, but I am asking anyway just in case someone has solved the problem already: I am trying to install gtk2hs in Windows 7 with cabal install gtk on the command line (cmd.exe). I managed to make the gtk libraries available, but the build process ends with this error message: setup.exe: gtk-0.11.2: library-dirs: c:/devel/dist/win32/libpng-1.4.3-1/lib doesn't exist or isn't a directory (use --force to override) cabal.exe: Error: some packages failed to install: gtk-0.11.2 failed during the building phase. The exception was: ExitFailure 1 The directory c:/devel/dist/win32/libpng-1.4.3-1/lib does in fact not exist, and I am wondering why it is considered at all .. I think a libpng came together with the gtk package. I have tried to use --extra-lib-dirs, but that leads to the same error message. Any ideas? Thanks and my apologies if this is too gtk-/windows-specific for this list. Christian

Hi Christian You might want to punt your message to Haskell-cafe. I suspect there aren't many users of Windows and Gtk2Hs, but there are a few. Posting to Cafe for this problem is more likely to get noticed. Myself, I primarily use Windows but don't use Gtk2hs - the only only time I did was a long time ago when it installed from a Setup.exe rather than cabal. Maybe Cairo is bringing in libpng? I don't think Gtk2hs even used Cairo when I used it. Best wishes Stephen
participants (2)
-
C Gosch
-
Stephen Tetley