Hi Daniel, Gtk2hs site is down by move server, sadly. The document on http://www.haskell.org/haskellwiki/Gtk2Hs is wrong.
http://markshroyer.com/2010/10/gtk2hs-on-windows/ is right. From your error, you missing C libraries that gtk2hs need, or you have install GTK+ C library, but gtk2hs can't find those libraries somehow (such as wrong configure ...) The right way is : 1) Install GTK+ all-in-one bundle (Include C library) 2) Very import, add GTK+ C library and Cabal bin path add in environment variable PATH 3) Then do "cabal update && cabal install gtk2hs-buildtools && cabal install gtk" I'm not Windows guy, but almost like above. I will find time re-build gtk2hs site and provide Windows Installer (But i can't promise when, i'm so busy) Hope above will help you. :) -- Andy Daniel Díaz <[email protected]> writes: > Hi, cafe, > > I know this has been treated many times, but I've tried install GTK so > hard without any success that I decided to ask for help. > > Firstly, I followed the instructions listed in HaskellWiki [1]. No results. > > Then, I followed the instruction from the Mark Shroyer blog [2]. No results. > > I did some mixing of the two guides, too, but my error was always the same: > > Configuring cairo-0.12.0... > [...] > setup.exe: Missing dependencies on foreign libraries: > * Missing C libraries: z, cairo > > Configuring glib-0.12.0... > [...] > setup.exe: Missing dependencies on foreign libraries: > * Missing C libraries: gobject-2.0, gthread-2.0, glib-2.0, intl > > I've searched for these libraries, and, with --extra-include-dirs=, I've > included them. But the same error was thrown. > > I'm sure I'm doing something wrong or, perhaps, I'm missing something. > > Any help is welcomed! > > Thanks in advance, > Daniel Díaz > > References: > > [1] http://www.haskell.org/haskellwiki/Gtk2Hs > [2] http://markshroyer.com/2010/10/gtk2hs-on-windows/ _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
