Building luabind on Mac OS X
Update: Apparently it may be working now. See Socapex’s comment below.
$ # If you have used the Homebrew recipes -- they don't work $ brew uninstall lua $ brew uninstall bjam $ # The current version of LuaBind doesn't compile with Clang. $ Fortunately the GitHub HEAD does. $ git clone https://github.com/luabind/luabind.git $ # LuaBind currently does not compile with Lua 5.2 $ wget $BOOST_URL $ wget $LUA51_URL $ wget $LUA_URL $ cd /where/is/boost $ chmod a+x tools/build/v2/bootstrap.sh $ chmod a+x tools/build/v2/engine/build.sh $ ./bootstrap.sh toolset=darwin $ cp bjam /usr/local/bin $ export BOOST_ROOT=/where/is/your/boost $ export BOOST_BUILD_PATH=/where/is/your/boost/tools/build/v2 $ cd /where/is/lua $ make macosx $ # We need these because LuaBind hard-codes the non-standard directory names $ ln -s src include $ export LUA_PATH=/where/is/lua $ cd /where/is/luabind $ bjam toolset=darwin link=static