Building gtk on OS/X with platform 2012.2.0.0

Hi, Has anyone successfully cabal installed gtk (from gtk2hs) on OS/X Lion with platform 2012.2.0.0? I setup a new Lion instance with latest XCode and command line tools and Homebrew. I installed gtk+, Cairo, pango etc successfully with Homebrew. The following install log for gtk2hs-buildtools and gtk shows a compilation error (line 5431): http://hpaste.org/69521 I'm probably doing something wrong, so any advice much appreciated. Stu

This is a known issue ([1]), and my guess, according to [2], is that
it is fixed in the latest version ([3]), which has not been uploaded
to hackage yet.
What happens if you install gtk from that repo instead? You may want
to try to apply the patch to the version of gtk2hs that is available
on hackage instead.
-- Ivan.
[1] http://hackage.haskell.org/trac/gtk2hs/ticket/1245
[2] http://comments.gmane.org/gmane.comp.lang.haskell.gtk2hs.devel/1298
[3] http://code.haskell.org/gtk2hs/
On 5 June 2012 01:05, Stuart Hungerford
Hi,
Has anyone successfully cabal installed gtk (from gtk2hs) on OS/X Lion with platform 2012.2.0.0?
I setup a new Lion instance with latest XCode and command line tools and Homebrew. I installed gtk+, Cairo, pango etc successfully with Homebrew. The following install log for gtk2hs-buildtools and gtk shows a compilation error (line 5431):
I'm probably doing something wrong, so any advice much appreciated.
Stu
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Tue, Jun 5, 2012 at 5:12 PM, Ivan Perez
This is a known issue ([1]), and my guess, according to [2], is that it is fixed in the latest version ([3]), which has not been uploaded to hackage yet.
What happens if you install gtk from that repo instead? You may want to try to apply the patch to the version of gtk2hs that is available on hackage instead.
Thanks Ivan -- that's an excellent suggestion, which I'll try out. Stu
participants (2)
-
Ivan Perez
-
Stuart Hungerford