Can't build Boost Python 3 on macOS
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- build-system
調査の方向性
bootstrap.sh と b2 の Python 設定パスから始め、その後、macOS 用の公式 Python 3.10 インストーラーを使って報告されたコマンドを再現します。各ステップで確認される実行ファイル名、特に python と python3 を比較します。このインストール環境で Boost.Python 3 の設定とビルドが正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Might be related to https://github.com/boostorg/boost/issues/503 but building Boost Python 3 (Boost 1.80.0) with
./bootstrap.sh --with-libraries=python --with-python=python3
./b2 --debug-configuration --debug-building --debug-generator install
does not work: bootstrap.sh seems to work as it detected the right Python root location (I am using official Python installer at python.org instead of MacPort in the aforementioned issue)
Detecting Python version... 3.10
Detecting Python root... /Library/Frameworks/Python.framework/Versions/3.10
However, b2 reports
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "3.10"
notice: [python-cfg] user-specified cmd-or-prefix: "/Library/Frameworks/Python.framework/Versions/3.10"
notice: [python-cfg] Checking interpreter command "/Library/Frameworks/Python.framework/Versions/3.10/bin/python"...
notice: [python-cfg] running command '/Library/Frameworks/Python.framework/Versions/3.10/bin/python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
notice: [python-cfg] ...does not invoke a working interpreter
and apparently, the Python 3 installer on macOS does not created bin/python, only bin/python3. Shouldn't it take into account the suggested name for the Python executable in bootstrap? (It builds perfectly for Python 2.7 included in macOS.)
- 主要言語
- C++
- スター
- 537
- フォーク
- 223
- 平均マージ
- 11時間 22分
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
boostorg/python のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake オープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
boostorg/python の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AXERA-TECH/ax-llm#77 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
games-on-whales/wolf#509 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100