macportsでboost.pythonをインストールする
boost.pythonが必要なpythonモジュールをインストールしようとしたらboost.pythonがインストールされていなかった。どうやらboost.pythonは標準ではインストールされないようだ。
とりあえずmacportsのvariantsで調べるとオプションの一つにboost.pythonが合ったのでインストールした。
$ sudo port variants boost boost has the variants: python24: Build Boost.Python for Python 2.4 python25: Build Boost.Python for Python 2.5 python26: Build Boost.Python for Python 2.6 icu: Enable Unicode support in Boost.Regex through ICU graphml: Enable GraphML support in Boost.Graph openmpi: Build Boost.MPI debug: Build debug libraries docs: Deprecated, use +doc doc: Install documentation st: Build single-threaded libraries universal: Build for multiple architectures powerpc: Platform variant, do not select manually darwin_8_powerpc: Platform variant, do not select manually $ sudo port deactivate boost $ sudo port install boost +python25
ビルドに時間かかるな〜