No subject
Thu Feb 24 17:58:36 CET 2011
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 <danieldiaz at asofilak.es> 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/
More information about the Haskell-Cafe
mailing list