Hi there i've the same problem with deluge 1.2.3 and Debian 5.0.4 (lenny)(2.6.26)
now i've downloaded the libtorrent-rasterbar-0.15.0.tar.gz file and extracted it into a newly created 'libtorrent' folder in */deluge-1.2.3/" next to docs and deluge
first is that correct ?
second
i get some errors while building the new setup ( python setup.py build)
Code: Select all
building 'libtorrent' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include -I -I/usr/include/python2.5 -c ./libtorrent/src/ut_pex.cpp -o build/temp.linux-i686-2.5/./libtorrent/src/ut_pex.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from ./libtorrent/include/libtorrent/peer_connection.hpp:61,
from ./libtorrent/src/ut_pex.cpp:45:
./libtorrent/include/libtorrent/socket.hpp:51:27: error: asio/ip/tcp.hpp: No such file or directory
./libtorrent/include/libtorrent/socket.hpp:52:27: error: asio/ip/udp.hpp: No such file or directory
./libtorrent/include/libtorrent/socket.hpp:53:31: error: asio/io_service.hpp: No such file or directory
./libtorrent/include/libtorrent/socket.hpp:54:35: error: asio/deadline_timer.hpp: No such file or directory
./libtorrent/include/libtorrent/socket.hpp:55:26: error: asio/write.hpp: No such file or directory
./libtorrent/include/libtorrent/socket.hpp:56:25: error: asio/read.hpp: No such file or directory
./libtorrent/include/libtorrent/socket.hpp:57:32: error: asio/time_traits.hpp: No such file or directory
./libtorrent/include/libtorrent/socket.hpp:58:41: error: asio/basic_deadline_timer.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/socket.hpp:76,
from ./libtorrent/include/libtorrent/peer_connection.hpp:61,
from ./libtorrent/src/ut_pex.cpp:45:
./libtorrent/include/libtorrent/error_code.hpp:45:31: error: asio/error_code.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/peer_connection.hpp:77,
from ./libtorrent/src/ut_pex.cpp:45:
./libtorrent/include/libtorrent/chained_buffer.hpp:39:27: error: asio/buffer.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/socket.hpp:75,
from ./libtorrent/include/libtorrent/peer_connection.hpp:61,
from ./libtorrent/src/ut_pex.cpp:45:
./libtorrent/include/libtorrent/time.hpp: In function ‘libtorrent::ptime libtorrent::max_time()’:
./libtorrent/include/libtorrent/time.hpp:162: error: ‘numeric_limits’ is not a member of ‘std’
./libtorrent/include/libtorrent/time.hpp:162: error: ‘::max’ has not been declared
./libtorrent/include/libtorrent/time.hpp:162: error: expected primary-expression before ‘(’ token
./libtorrent/include/libtorrent/time.hpp:162: error: ‘numeric_limits’ is not a member of ‘std’
./libtorrent/include/libtorrent/time.hpp:162: error: expected primary-expression before ‘>’ token
./libtorrent/include/libtorrent/time.hpp:162: error: ‘::max’ has not been declared
./libtorrent/include/libtorrent/time.hpp: At global scope:
./libtorrent/include/libtorrent/time.hpp:175: error: ‘time_traits’ is not a template
./libtorrent/include/libtorrent/time.hpp:176: error: explicit specialization of non-template ‘asio::time_traits’
./libtorrent/include/libtorrent/time.hpp:187: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/time.hpp:187: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/time.hpp:187: error: expected ‘;’ before ‘to_posix_duration’
./libtorrent/include/libtorrent/time.hpp:190: error: expected `;' before ‘}’ token
In file included from ./libtorrent/include/libtorrent/socket.hpp:76,
from ./libtorrent/include/libtorrent/peer_connection.hpp:61,
from ./libtorrent/src/ut_pex.cpp:45:
./libtorrent/include/libtorrent/error_code.hpp:247: error: ‘error_code’ in namespace ‘asio’ does not name a type
./libtorrent/include/libtorrent/error_code.hpp:248: error: ‘asio::error’ has not been declared
./libtorrent/include/libtorrent/error_code.hpp:248: error: expected initializer before ‘get_posix_category’
./libtorrent/include/libtorrent/error_code.hpp:249: error: ‘asio::error’ has not been declared
./libtorrent/include/libtorrent/error_code.hpp:249: error: expected initializer before ‘get_system_category’
./libtorrent/include/libtorrent/error_code.hpp:251: error: ‘boost::system’ has not been declared
./libtorrent/include/libtorrent/error_code.hpp:251: error: expected constructor, destructor, or type conversion before ‘const’
./libtorrent/include/libtorrent/error_code.hpp:295: error: expected `)' before ‘const’
./libtorrent/include/libtorrent/error_code.hpp:302: error: ‘error_code’ does not name a type
./libtorrent/include/libtorrent/error_code.hpp:304: error: ‘error_code’ does not name a type
./libtorrent/include/libtorrent/error_code.hpp: In member function ‘virtual const char* libtorrent::libtorrent_exception::what() const’:
./libtorrent/include/libtorrent/error_code.hpp:298: error: ‘m_error’ was not declared in this scope
In file included from ./libtorrent/include/libtorrent/socket.hpp:77,
from ./libtorrent/include/libtorrent/peer_connection.hpp:61,
from ./libtorrent/src/ut_pex.cpp:45:
./libtorrent/include/libtorrent/escape_string.hpp: At global scope:
./libtorrent/include/libtorrent/escape_string.hpp:55: error: ‘error_code’ has not been declared
In file included from ./libtorrent/include/libtorrent/peer_connection.hpp:61,
from ./libtorrent/src/ut_pex.cpp:45:
./libtorrent/include/libtorrent/socket.hpp:87: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:88: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:89: error: ‘asio::async_write’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:90: error: ‘asio::async_read’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:92: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:92: error: expected initializer before ‘stream_socket’
./libtorrent/include/libtorrent/socket.hpp:93: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:93: error: expected initializer before ‘address’
./libtorrent/include/libtorrent/socket.hpp:94: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:94: error: expected initializer before ‘address_v4’
./libtorrent/include/libtorrent/socket.hpp:95: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:95: error: expected initializer before ‘address_v6’
./libtorrent/include/libtorrent/socket.hpp:96: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:96: error: expected initializer before ‘datagram_socket’
./libtorrent/include/libtorrent/socket.hpp:97: error: ‘asio::ip’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:97: error: expected initializer before ‘socket_acceptor’
./libtorrent/include/libtorrent/socket.hpp:98: error: ‘io_service’ in namespace ‘asio’ does not name a type
./libtorrent/include/libtorrent/socket.hpp:99: error: expected initializer before ‘<’ token
./libtorrent/include/libtorrent/socket.hpp:118: error: ‘libtorrent::print_address’ declared as an ‘inline’ variable
./libtorrent/include/libtorrent/socket.hpp:118: error: ‘address’ was not declared in this scope
./libtorrent/include/libtorrent/socket.hpp:119: error: expected ‘,’ or ‘;’ before ‘{’ token
./libtorrent/include/libtorrent/socket.hpp:124: error: ‘libtorrent::print_endpoint’ declared as an ‘inline’ variable
./libtorrent/include/libtorrent/socket.hpp:124: error: ‘tcp’ has not been declared
./libtorrent/include/libtorrent/socket.hpp:125: error: expected ‘,’ or ‘;’ before ‘{’ token
./libtorrent/src/ut_pex.cpp:446: error: expected `}' at end of input
error: command 'gcc' failed with exit status 1
i'm not very familiar with sources and compiling them so it would be nice if someone could help me with that.
thx a lot
ps: dependencies are installed like it says in the README