Restart your terminal app and run this: Code: export CFLAGS="-arch i386 -m32" export CXXFLAGS=${CFLAGS} export CPPFLAGS="-I/usr/X11/include" export LDFLAGS="-framework CoreServices -lz -L/usr/X11/lib -lGL -lGLU " cd /path/to/wine/source make distclean ./configure --verbose --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-opengl --with-glu If you still get errors about OpenGL headers, no amount of screwing around is going to help - you need to reinstall at least the X11 user and SDK packages. Direct3D won't work without OpenGL support, period.