Re: [Haskell-cafe] Please report any bug of gtk2hs-0.11.0!
On Jul 26, 2010, at 6:59 PM, Andy Stewart wrote: 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 You can fix this problem with two solutions: 1) Change your locate to UTF-8. This worked, thanks! Sebastian -- Underestimating the novelty of the future is a time-honored tradition. (D.G.) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Please report any bug of gtk2hs-0.11.0!
Sebastian Fischer 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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Please report any bug of gtk2hs-0.11.0!
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. Cheers, Sebastian -- Underestimating the novelty of the future is a time-honored tradition. (D.G.) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Please report any bug of gtk2hs-0.11.0!
Err... where is pixbufFromImageSurface [1] now? I have an old program that draws using cairo an static diagram to a pixbuf which then becomes the backend of an Image. If pixbufFromImageSurface got deprecated, what's a better solution? [1] http://www.haskell.org/gtk2hs/docs/gtk2hs-docs-0.10.0/Graphics-UI-Gtk-Cairo.html#v%3ApixbufFromImageSurface Cheers! -- Felipe. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Please report any bug of gtk2hs-0.11.0!
Hi all, We plan to release bug fix version : gtk2hs-0.11.1 Please report any bug of gtk2hs-0.11.0, we will fix it before release gtk2hs-0.11.1 We plan to add many new APIs in gtk2hs-0.12.0, so gtk2hs-0.11.1 will be the last stable version with current APIs. Thanks for your help! -- Andy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe