I'm trying to build gtk2hs (on OS X) and am getting an error at soegtk.  The build process is trying use use the gtk package before it's been installed.  Oddly, when I configure with --disable-soegtk, I get the same result.

Any ideas?

    - Conal

    bash-3.2$ env 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 ./configure --disable-gio --enable-{cairo,opengl,gconf}
    [...]
    bash-3.2$ make
    [...]
    Linking libHSgtk.a, for larger libs this can take quite some time...
    ar: creating archive libHSgtk.a
    ranlib libHSgtk.a
    gcc -E -x c -traditional-cpp -I/Library/Frameworks/GLib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers -I/Library/Frameworks/Gtk.framework/Headers -I. -DGTK2HS_HS_PREPROC -include gtk2hs-config.h soegtk/Graphics/SOE/Gtk.hs.pp -o soegtk/Graphics/SOE/Gtk.hs
    rm -rf soegtk/Graphics/SOE/Gtk.o soegtk/Graphics/SOE/Gtk_split/; mkdir -p soegtk/Graphics/SOE/Gtk_split
    /usr/bin/ghc +RTS -RTS -split-objs -c soegtk/Graphics/SOE/Gtk.hs -o soegtk/Graphics/SOE/Gtk.o -O -isoegtk -package-conf package.conf.inplace -hide-all-packages -ignore-package soegtk -package base-4.1.0.0 -package old-time-1.0.0.2 -package mtl-1.1.0.2 -package glib-0.10.1 -package gtk-0.10.1 -package cairo-0.10.1 -package-name soegtk-0.10.1 '-#include<gtk/hsgtk.h>' -I/Library/Frameworks/GLib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers -I/Library/Frameworks/Gtk.framework/Headers -I.
    <command line>: unknown package: gtk-0.10.1
    make[1]: *** [soegtk/Graphics/SOE/Gtk.o] Error 1
    rm soegtk/Graphics/SOE/Gtk.hs
    make: *** [all] Error 2