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.
Update libtorrent with deluge 1.3.3
Re: Update libtorrent with deluge 1.3.3
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 :
Check the install :
Check by deluge
Should show you :
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
Code: Select all
python -c "import libtorrent as lt; print lt.version"
Code: Select all
deluge --version
Python binding (http://www.rasterbar.com/products/libto ... nding.html)deluge: 1.3.3
libtorrent: 0.15.7.0
Re: Update libtorrent with deluge 1.3.3
Hi,
I know this is an old post and all but are there any thoughts on how to do this in windows?
Thanks
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
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.evolvtyon wrote: I know this is an old post and all but are there any thoughts on how to do this in windows?
This worked fine for me for several versions.
-
- Member
- Posts: 25
- Joined: Fri Jul 24, 2015 9:56 pm
Re: Update libtorrent with deluge 1.3.3
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!
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
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
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
0.16.13 is old too. Why not download 1.0.6?
Re: Update libtorrent with deluge 1.3.3
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