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

b2 install python=2.7 python=3.3 fails #2

Closed
pdimov opened this issue Apr 14, 2019 · 2 comments
Closed

b2 install python=2.7 python=3.3 fails #2

pdimov opened this issue Apr 14, 2019 · 2 comments

Comments

@pdimov
Copy link
Member

pdimov commented Apr 14, 2019

... with

error: Name clash for '<pc:\boost-prefix\lib\cmake\boost_python-1.71.0>libboost_python-variant-shared.cmake'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error:     -  <python>2.7
error:     -  <python>3.3
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.

See boostorg/python#262.

@pdimov
Copy link
Member Author

pdimov commented Apr 15, 2019

@swatanabe Can you please offer some advice on this one? I hardcode boostcpp.tag here: https://github.com/boostorg/boost_install/blob/develop/boost-install.jam#L314, but the boost_python and boost_numpy libraries use their own local python-tag, which takes the value of <python> into account. I could of course special-case these, but it might be more proper to somehow use the <tag> of the library, instead of hardcoding boostcpp.tag.

@pdimov
Copy link
Member Author

pdimov commented Apr 17, 2019

Should be fixed in develop.

@pdimov pdimov closed this as completed Apr 17, 2019
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