Replies: 1 comment
-
So even if I can build without the b2 args for linking (it not be how to fix build) I still need to somehow enable webtorrent or any other feature or debug param that someone else would use the python client to troubleshot. It's really handy to have a minimal client within the lib repo to directly test it without having a complex client on top. For which building might be even more a mess. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi :)
I'm trying this: #7333 (comment)
I'm on EndeavourOS with boost and openssl packages which on Arch based distros include the devel stuff.
I have libssl.so and libcrypto.so and the openssl and boost headers in /usr/include.
Should I be using a venv?
sudo python3 -m pip install [...]
is how in the past I messed /usr/lib with stuff not from repos. Is venv the current way to go in general? Is it compatible with libretorrent build process in particular?After all, there is no sudo used in #7333 (comment)
So something is done to not install in /
What I did:
After that I did:
It tried statically by default. So I'm trying to pass
--b2-args=webtorrent=on\ libtorrent-link=shared\ boost-link=shared
But it end up ignored due to pypa/pip#11859 and pypa/setuptools#2491
I tried
python3 -m pip install --verbose --config-settings=--global-option=--b2-args=webtorrent=on\ libtorrent-link=shared\ boost-link=shared git+https://github.com/arvidn/libtorrent.git@master
But it leads to
python3 -m pip install --verbose --no-use-pep517 --global-option="--b2-args=webtorrent=on\ libtorrent-link=shared\ boost-link=shared" git+https://github.com/arvidn/libtorrent.git@master
python3 -m pip install --verbose --config-settings="--build-option='--b2-args=webtorrent=on\ libtorrent-link=shared\ boost-link=shared'" git+https://github.com/arvidn/libtorrent.git@master
I tried other variations with no better outcome but I'm likely no even digging in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions