I've found this guide: viewtopic.php?f=41&t=100043
but I already have the last version of deluge installed but with the "default" version of libtorrent.
So I tried to follow these instructions only to update libtorrent:
Code: Select all
sudo nano /etc/apt/sources.list
uncomment this line and save then exit
deb-src http://mirror.ox.ac.uk/sites/archive.ra ... /raspbian/ wheezy main contrib non-free rpi
sudo apt-get update && sudo apt-get dist-upgrade -y
sudo reboot
sudo apt-get install scons build-essential libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev libboost-all-dev
[i]sudo reboot
wget http://libtorrent.googlecode.com/files/ ... .13.tar.gz
tar xvzf libtorrent-rasterbar-0.16.13.tar.gz
cd libtorrent-rasterbar-0.16.13
./configure --enable-python-binding
cd bindings/python/
python setup.py build
sudo python setup.py install
cd ../..
make
sudo make install
[*] I don't understand lines about uncomment sources file...
[*] The download link is dead so I've found this, is it correct?
Code: Select all
wget https://sourceforge.net/projects/libtorrent/files/libtorrent/libtorrent-rasterbar-0.16.13.tar.gz/downloadCode: Select all
sudo apt-get install python-libtorrent[*]I have this error:
pi@deluge ~/libtorrent-rasterbar-0.16.13/bindings/python $ sudo python setup.py install
Code: Select all
running install
running build
running build_ext
building 'libtorrent' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/torrent_handle.cpp -o build/temp.linux-armv6l-2.7/src/torrent_handle.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 ../../include/libtorrent/torrent_handle.hpp:54:0,
from src/torrent_handle.cpp:7:
../../include/libtorrent/torrent_info.hpp: In member function ‘void libtorrent::torrent_info::rename_file(int, const wstring&)’:
../../include/libtorrent/torrent_info.hpp:287:43: warning: ‘void libtorrent::file_storage::rename_file(int, const wstring&)’ is deprecated (declared at ../../include/libtorrent/file_storage.hpp:206) [-Wdeprecated-declarations]
src/torrent_handle.cpp: In function ‘void set_peer_upload_limit(libtorrent::torrent_handle&, const boost::python::tuple&, int)’:
src/torrent_handle.cpp:335:58: warning: ‘void libtorrent::torrent_handle::set_peer_upload_limit(boost::asio::ip::tcp::endpoint, int) const’ is deprecated (declared at ../../include/libtorrent/torrent_handle.hpp:279) [-Wdeprecated-declarations]
src/torrent_handle.cpp: In function ‘void set_peer_download_limit(libtorrent::torrent_handle&, const boost::python::tuple&, int)’:
src/torrent_handle.cpp:340:60: warning: ‘void libtorrent::torrent_handle::set_peer_download_limit(boost::asio::ip::tcp::endpoint, int) const’ is deprecated (declared at ../../include/libtorrent/torrent_handle.hpp:281) [-Wdeprecated-declarations]
gcc: internal compiler error: Processus arrêté (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
error: command 'gcc' failed with exit status 4