OS X build failure of Gtk2Hs from MacPorts

/opt/local/bin/ghc +RTS -RTS -c tools/hierarchyGen/TypeGen.hs -o
tools/hierarchyGen/TypeGen.o -O -itools/hierarchyGen -package-conf
package.conf.inplace -hide-all-packages -package base
package.conf.inplace: openBinaryFile: does not exist (No such file or directory)
/opt/local/bin/ghc +RTS -RTS -c tools/callbackGen/HookGenerator.hs -o
tools/callbackGen/HookGenerator.o -O -I. -itools/callbackGen
-package-conf package.conf.inplace -hide-all-packages -package base
package.conf.inplace: openBinaryFile: does not exist (No such file or directory)
rm -rf glib/System/Glib.o glib/System/Glib_split/; mkdir -p
glib/System/Glib_split
/opt/local/bin/ghc +RTS -RTS -split-objs -c glib/System/Glib.hs -o
glib/System/Glib.o -O -fffi -iglib -package-conf package.conf.inplace
-hide-all-packages -ignore-package glib -package base -package-name
glib-0.9.13 '-#include

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

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
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

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
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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Jeff Heard
-
Ross Mellgren
-
Yitzchak Gale