0

libtorrent の /bindings/python ディレクトリから次のビルド コマンドを実行しています。

./bjam boost=system link=static address-model=32 toolset=darwin architecture=x86 release

しかし、次のエラーが発生します

/opt/local/include/boost/python/detail/wrap_python.hpp:50:23: error: pyconfig.h: No such file or directory
/opt/local/include/boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No such file or directory
/opt/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
/opt/local/include/boost/python/detail/wrap_python.hpp:142:21: error: Python.h: No such file or directory

最終的には

...failed darwin.compile.c++ bin/darwin-4.2.1/release/address-model-32/architecture-x86/link-static/src/module.o..

誰かが私がめちゃくちゃになっている場所を指摘できますか?

4

1 に答える 1

1

ばかげた質問: python はインストールされていますか? また、標準の場所ではなくインストール済みの場合は、bjam にその場所を伝える必要があります。

ああ、ブーストは Python をサポートしてビルドされましたか?

于 2013-08-24T13:39:45.563 に答える