Can't build Boost Python 3 on macOS
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- build-system
调研方向
从 bootstrap.sh 和 b2 的 Python 配置路径开始,然后使用官方的 Python 3.10 macOS 安装程序重现报告中的命令。比较每个步骤检查的可执行文件名称,尤其是 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++
- 星标
- 540
- 派生
- 224
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/python 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 84/100
-
Windows CI does not fail if one or more tests fail可能已有人在做 @stephengtuggy 于 148 天前认领。 未关闭
难度 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
-
Windows CI: vcpkg dependency caching not working可能已有人在做 @stephengtuggy 于 148 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
bot-triaged module: correctness (silent) module: fft triage review
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
patrickjquinn/Marathon-Shell#84 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
sav-oss-org/ptusa_main#1610 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
open-astro/AlpacaBridge#2606 · 1 条评论 ·
维护者通常 1 天内回复
-
Refactor force_torque_system integration test to use EcmScope可能已有人在做 @patelshivani2283-lab 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复