I'm not sure this is 100% correct... but something like this... might have to edit some of the Path stuff if I have it wrong for your set up... but I'm assuming most of the stuff you've built is off Macports and /opt/local... do this in a new Terminal session Code: export DYLD_FALLBACK_LIBRARY_PATH="/opt/local/lib:/usr/lib:/opt/X11/lib:/usr/X11/lib" export CC="gcc-4.0" export CXX="g++-4.0" export CPPFLAGS="-I/opt/local/include" export CFLAGS="-arch i386 -m32 -O2 ${CPPFLAGS}" export CXXFLAGS="$CFLAGS" export LDFLAGS="-L/opt/local/lib" then try the configure.... thats similar to how I have the build script in custom Wineskin builds to work.