[Haskell-cafe] OS X build failure of Gtk2Hs from MacPorts
Ross Mellgren
rmm-haskell at z.odi.ac
Sat Jan 17 18:22:26 EST 2009
I personally spurned MacPorts for this reason (and others). I've had
good success using the GTK+ Aqua framework from http://www.gtk-
osx.org/ and manually compiling pkg-config and gtk2hs from the darcs
repository. The only "trick" was to set PKG_CONFIG_PATH appropriately
before running gtk2hs' configure script:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/Library/Frameworks/
Cairo.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/
GLib.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/
Gtk.framework/Resources/dev/lib/pkgconfig
Also had to --disable-gio to gtk2hs' configure.
-Ross
On Jan 17, 2009, at 5:58 PM, Jeff Heard wrote:
> That would probably be the problem, then, yes. I'm still using GHC
> 6.8.3 in most of my code, but MacPorts doesn't respect the existing
> installation of GHC 6.8.3 that I installed via the DMG package on
> http://haskell.org/ghc
>
> On Sat, Jan 17, 2009 at 5:56 PM, Yitzchak Gale <gale at sefer.org> wrote:
>> Jeff,
>>
>> I'm not sure if this is causing the problem you're referring to,
>> but MacPorts is at GHC 6.10 while Gtk2Hs doesn't support
>> that yet.
>>
>> Regards,
>> Yitz
>>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list