[Haskell-cafe] Please report any bug of gtk2hs-0.11.0!
Andy Stewart
lazycat.manatee at gmail.com
Mon Jul 26 12:59:22 EDT 2010
Sebastian Fischer <sebf at informatik.uni-kiel.de> writes:
> Hello,
>
> On Jul 13, 2010, at 9:15 AM, Andy Stewart wrote:
>
>> Please report any bug of gtk2hs-0.11.0, we will fix it before release
>> gtk2hs-0.11.1
>
> I have just installed the new Haskell Platform under Mac OS X 10.5. With the previous installation
> of GHC 6.10.4 I managed to install gtk2hs manually so I think I have all required Unix libs.
>
> Now, I tried to install gtk2hs from Hackage but didn't succeed.
>
> cabal install gtk2hs-buildtools
>
> works fine but
>
> cabal install gtk
>
> fails with the message
>
> Configuring gtk-0.11.0...
> setup: ./Graphics/UI/Gtk/General/IconTheme.chs: invalid argument
> cabal: Error: some packages failed to install:
> gtk-0.11.0 failed during the building phase. The exception was:
> ExitFailure 1
>
> The dependencies seem to be installed properly:
>
> # ghc-pkg --user list | grep 0.11.0
> cairo-0.11.0
> gio-0.11.0
> glib-0.11.0
> pango-0.11.0
>
> Has anyone experienced this before? Googling the error message brings up a related problem under
> Solaris but no solution.
It's a bug of gtk2hs-0.11.0, that IconTheme.chs contain some UTF-8
character that can't handle by gtk2hs/gtk/Gtk2HsSetup.hs
You can fix this problem with two solutions:
1) Change your locate to UTF-8.
2) Or download darcs version of gtk2hs (darcs get http://code.haskell.org/gtk2hs).
Cheers,
-- Andy
More information about the Haskell-Cafe
mailing list