I wrote: > Could this be anything to do with me building the underlying wxMac > library with --disable-shared
The answer is yes. A correct build on MacOS 10.4.11 with ghc-6.6 requires that wxWidgets is configured with --enable-shared, and that this patch: (OS X) Check architecture to use intermediate step of compiling master.o or not. be darcs unpulled from your local repo. (Incidentally, unpulling requires first that one must darcs unpull a tag, then re-run darcs, in order to find this patch.) With these tweaks, wxHaskell builds, compiles, and runs the demo programs. There is still one tiny problem, specifically and only with the demo program: samples/contrib/GLCanvas.hs, which continues to give a dynamic linking error. I tracked this down to the shared library /usr/local/wxhaskell/lib/libwxc-mac2.6.4-0.10.1.dylib which does not (but _ought_ to) have a dependency on /usr/local/lib/libwx_macu_gl-2.6.0.4.0.dylib for the OpenGL stuff to be found. I simply added the latter into the .cabal file for wxcore (under "extra-libraries"), but there is probably a better way of fixing it. Regards, Malcolm ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users