Page 1 of 1
Update libtorrent with deluge 1.3.3
Posted: Wed Aug 17, 2011 4:20 pm
by H320
Hi,
It is possible to safely update the version of libtorrent ?
If yes how ?
With setup.py ? or with the make file ?
http://www.rasterbar.com/products/libto ... nding.html
Config info :
Debian 6.0.2
deluge: 1.3.3
libtorrent: 0.14.10.0
Thanks in advance.
Re: Update libtorrent with deluge 1.3.3
Posted: Fri Aug 19, 2011 7:43 pm
by H320
I finally manage to update libtorrent with version 0.15.7 from the sources.
The sources :
http://code.google.com/p/libtorrent/downloads/list
What I did :
Code: Select all
./configure --enable-python-binding
cd bindings/python/
python setup.py build
python setup.py install
cd ../..
make
make install
Check the install :
Code: Select all
python -c "import libtorrent as lt; print lt.version"
Check by deluge
Should show you :
deluge: 1.3.3
libtorrent: 0.15.7.0
Python binding (
http://www.rasterbar.com/products/libto ... nding.html)
Re: Update libtorrent with deluge 1.3.3
Posted: Wed Nov 28, 2012 11:20 pm
by evolvtyon
Hi,
I know this is an old post and all but are there any thoughts on how to do this in windows?
Thanks
Re: Update libtorrent with deluge 1.3.3
Posted: Thu Nov 29, 2012 10:18 am
by HolgiH
evolvtyon wrote:
I know this is an old post and all but are there any thoughts on how to do this in windows?
The easiest way is to extract libtorrent from the upstream msi package. Download the prebuilt libtorrent package for Windows (from Google Code), extract it manually (see
http://thebackroomtech.com/2009/05/20/t ... extractor/) and put the extracted libtorrent.pyd into Deluge's installation directory, overwriting the old one. Maybe rename/backup the old version first.
This worked fine for me for several versions.
Re: Update libtorrent with deluge 1.3.3
Posted: Tue Sep 01, 2015 2:32 pm
by DanielDC88
Apologies for replying to a three year old post, but when I try andf do this with anewer version of libtorrent I get the following message:
pi@Pi-NAS ~/libtorrent-rasterbar-0.16.13/bindings/python $ python setup.py build
running build
running build_ext
building 'libtorrent' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/opt/local/include -I/opt/local/include -I/usr/include/python2.7 -c src/utility.cpp -o build/temp.linux-armv6l-2.7/src/utility.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
In file included from src/utility.cpp:5:0:
../../include/libtorrent/identify_client.hpp:40:30: fatal error: boost/optional.hpp: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Any ideas?
Thanks!
Re: Update libtorrent with deluge 1.3.3
Posted: Tue Sep 01, 2015 6:34 pm
by H320
Hello,
I was following this topic.
In order to build libtorrent some dependcies are required. You should try to do a './configure' before trying to build in order to verify that your system is able to build libtorrent.
In your case the error indicates that the boost library is not present on your system.
The documentation could help you further:
http://www.libtorrent.org/building.html
bye
Re: Update libtorrent with deluge 1.3.3
Posted: Tue Sep 01, 2015 6:39 pm
by Shryp
0.16.13 is old too. Why not download 1.0.6?
Re: Update libtorrent with deluge 1.3.3
Posted: Tue Sep 01, 2015 11:07 pm
by Cas
Please don't hijack old threads, the wiki guide with precise steps was already link in your original thread.
http://dev.deluge-torrent.org/wiki/Building/libtorrent