From: Christian M. <Chr...@df...> - 2008-12-02 11:03:08
|
Ross Mellgren wrote: > This may not be helpful, but the combination I work under is the pre- > built GHC 6.10.1, the pre-built GTK+Quartz binaries from http://www.gtk-osx.org/ > , and manually compiled pkg-config and finally gtk2hs from the darcs > repo. > > If you go this route you'll have to make some tweaks: > 1) add > 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 > to .bash_profile or similar > 2) cp /usr/local/share/aclocal/pkg.m4 to /usr/share/aclocal/pkg.m4 (or > symlink) after install pkg-config -- this resolved the very unhelpful > "AC_MSG_ERROR" error message from autoreconf. > 3) for gtk2hs, I used autoreconf; ./configure --disable-gio --enable- > docs I'll wait for a proper gtk2hs release for ghc-6.10.1 > I have a strong distaste for macports though... I quite like the idea of MacPorts, it could be improved, though. 1. At one stage I got a compilation error and had to install the latest XCode version. (I had XCode 3.0 before.) 2. If it is not against the idea of MacPorts I'ld like if binaries or libraries could be installed directly (at least a bootstrapping ghc could be installed as binary) 3. A local installation without root permission should be possible. (4. The documentation of the port command could be improved, ie. "port help") Cheers Christian |