I've just found an opensuse repo for current libtorrent packages for debian 8 and 9. Following the instructions on
the author's forum post, I added this repo:
Code: Select all
# echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/qbittorrent/Debian_9.0/ /' > /etc/apt/sources.list.d/qbittorrent.list
# rm -f Release.key
# wget -nv http://download.opensuse.org/repositories/home:stevenpusser:qbittorrent/Debian_9.0/Release.key -O Release.key
# apt-key add - < Release.key
# apt update
These libtorrent packages were then available and I installed them:
Code: Select all
libtorrent-rasterbar9/unknown 1.1.13-1~obs amd64 [upgradable from: 1.1.1-1+b1]
python-libtorrent/unknown 1.1.13-1~obs amd64 [upgradable from: 1.1.1-1+b1]
python3-libtorrent/unknown 1.1.13-1~obs amd64 [upgradable from: 1.1.1-1+b1]
I then again tried installing 2.0.3 on my LMDE3 (debian 9) system.
python setup.py build ran without error, but
python setup.py install failed:
Code: Select all
[...]
src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
A quick Google search took me to a bug report on the twisted github site:
src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory
The error appears to be caused because the
python3-dev package is missing, so I installed that.
However the install command still fails at this point
Before asking at the github page I thought I would mention it here in case anyone has any ideas.