From: Arthur v. L. <art...@cs...> - 2006-07-05 15:49:16
|
Hello all, thought you might like to know the exact procedure I've taken to get wxHaskell to compile on Mac OS X Tiger. (Also posted on the Haskell wiki at http://www.haskell.org/haskellwiki/WxHaskell/ Installation_tips ) - Download and compile wxWidgets for mac (wxMac 2.6.3) from http:// www.wxwidgets.com/ - I used: ./configure --disable-shared --enable-unicode --with- opengl --with-mac --without-odbc - Download and unzip the sources to wxhaskell 0.9.4 - Download and apply the unicode patch to wxhaskell 0.9.4 from http:// www.loria.fr/~kow/download/patch-wxhaskell-unicode-08 - I used: cd wxhaskell-0.9.4; patch -p1 < ../wxhaskel-unicode.patch; cd .. - Change makefile so that line 718 reads: $(CXX) -r - keep_private_externs -nostdlib -o $(WXC-OUTDIR)/master.o $^ $(WXC- LIBS) -lSystemStubs -shared-libgcc -lstdc++-static (don't forget the tab starting the line!) - Check to see if you have XCode 2.3 or newer installed; with the above line, compilation will fail with lower versions, due to a lacking libstdc++-static.a - Configure wxhaskell and build it - I used: ./configure --wx-config=/usr/local/src/wxMac-2.6.3/osx- build/wx-config --with-opengl; make; make install With regards, Arthur van Leeuwen. -- /\ / | art...@cs... | Work like you don't need the money /__\ / | A friend is someone with whom | Love like you have never been hurt / \/__ | you can dare to be yourself | Dance like there's nobody watching |