Lablgtk2 and Mac OS X

Mike Spivey <[email protected]> Mon, 26 Jan 2009 20:41:53 +0000
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
On searching online, I wasn't able to find out in advance whether it
would be possible to build lablgtk2 under Mac OS X using the native
"Quartz" port of GTK+.  The good news is that it is possible, and in
fact completely straightforward.  You just need to install the package
that you can find at http://www.gtk-osx.org, then set PKG_CONFIG_PATH
like this ...

export PKG_CONFIG_PATH=\
/Library/Frameworks/Cairo.framework/Resources/dev/lib/pkgconfig:\
/Library/Frameworks/GLib.framework/Resources/dev/lib/pkgconfig:\
/Library/Frameworks/Gtk.framework/Resources/dev/lib/pkgconfig

... and away you go!

Best wishes,

-- Mike Spivey