Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build boost python with python3 #72

Open
indigodomo opened this issue Dec 8, 2021 · 0 comments
Open

How to build boost python with python3 #72

indigodomo opened this issue Dec 8, 2021 · 0 comments

Comments

@indigodomo
Copy link

indigodomo commented Dec 8, 2021

Seems like it should be possible to build boost python with a python3 install from python.org, installed in:

/Library/Frameworks/Python.framework/Versions/3.9

I've tweaked the boost.sh script with:

./bootstrap.sh --with-libraries="$BOOST_LIBS_COMMA" --with-python=python3 --with-python-root=/Library/Frameworks/Python.framework/Versions/3.9/ --with-python-version=3.9

and it still insists on building:

src/boost_1_75_0/macos-build/stage/lib/libboost_python27.a

Given that Apple is going to remove Python in the next version of macOS, it would seem like the need to update the script to build from python.org's default install directory (or at least pass through the appropriate params).

Anyone else tried this and succeeded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant