= Building Boost on Mac OS X (Intel) = Cobbled together from http://python-ogre.python-hosting.com/wiki/CompilingOnMacOSX and http://mail.python.org/pipermail/c++-sig/2007-January/011907.html Warning: these instructions do not build a universal binary. It appears that this can be done see http://opensource.adobe.com/asl_readme.html 1. Download boost_1_33_1.tar.bz2 and expand. Change into that directory 2. ./configure 3. sudo cp tools/build/jam_src/bin.macosxx86/bjam /usr/local/bin/bjam # The following assumes your Python (version 2.4) is installed at /Users/astraw/py2.4-macosx-10.3-fat/bin/python and that Python.h is in /Users/astraw/py2.4-macosx-10.3-fat/include/python2.4 4. bjam --with-python -sPYTHON_VERSION=2.4 -sPYTHON_ROOT=/Users/astraw/py2.4-macosx-10.3-fat 5. cd /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 6. cp -p -r ~/other-peoples-src/boost/boost_1_33_1/boost . 7. cd /Library/Frameworks/Python.framework/Versions/2.4/lib 8. cp ~/other-peoples-src/boost/boost_1_33_1/bin/boost/libs/python/build/libboost_python.a/gcc/release/libboost_python.a . (This way didn't seem to work:) 4a. cd libs/python/build/ 4b. PYTHON_ROOT="/Users/astraw/py2.4-macosx-10.3-fat" ~/other-peoples-src/boost/boost-jam-3.1.13-1-macosxppc/bjam "-sTOOLS=gcc" install