I was just trying to install via SVN and I got this error message could someone help me out I really don't know enough about coding to know if this is in the
lee@lee-desktop:~/deluge$ python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
running build
running build_py
running build_ext
building 'deluge_core' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c libtorrent/src/pe_crypto.cpp -o build/temp.linux-i686-2.5/libtorrent/src/pe_crypto.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
libtorrent/src/pe_crypto.cpp:37:24: error: openssl/dh.h: No such file or directory
libtorrent/src/pe_crypto.cpp:38:28: error: openssl/engine.h: No such file or directory
In file included from libtorrent/src/pe_crypto.cpp:40:
./libtorrent/include/libtorrent/pe_crypto.hpp:40:25: error: openssl/rc4.h: No such file or directory
In file included from ./libtorrent/include/libtorrent/peer_id.hpp:43,
from ./libtorrent/include/libtorrent/pe_crypto.hpp:42,
from libtorrent/src/pe_crypto.cpp:40:
./libtorrent/include/libtorrent/config.hpp:36:28: error: boost/config.hpp: No such file or directory
./libtorrent/include/libtorrent/pe_crypto.hpp:69: error: ISO C++ forbids declaration of ‘DH’ with no type
./libtorrent/include/libtorrent/pe_crypto.hpp:69: error: expected ‘;’ before ‘*’ token
./libtorrent/include/libtorrent/pe_crypto.hpp: In member function ‘int libtorrent::DH_key_exchange::get_local_key_size() const’:
./libtorrent/include/libtorrent/pe_crypto.hpp:66: error: ‘m_DH’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp:66: error: ‘BN_num_bytes’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp: At global scope:
./libtorrent/include/libtorrent/pe_crypto.hpp:117: error: ‘RC4_KEY’ does not name a type
./libtorrent/include/libtorrent/pe_crypto.hpp:118: error: ‘RC4_KEY’ does not name a type
./libtorrent/include/libtorrent/pe_crypto.hpp: In constructor ‘libtorrent::RC4_handler::RC4_handler(const libtorrent::sha1_hash&, const libtorrent::sha1_hash&)’:
./libtorrent/include/libtorrent/pe_crypto.hpp:85: error: ‘m_local_key’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp:86: error: ‘RC4_set_key’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp:87: error: ‘m_remote_key’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp: In member function ‘void libtorrent::RC4_handler::encrypt(char*, int)’:
./libtorrent/include/libtorrent/pe_crypto.hpp:103: error: ‘m_local_key’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp:104: error: ‘RC4’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp: In member function ‘void libtorrent::RC4_handler::decrypt(char*, int)’:
./libtorrent/include/libtorrent/pe_crypto.hpp:112: error: ‘m_remote_key’ was not declared in this scope
./libtorrent/include/libtorrent/pe_crypto.hpp:113: error: ‘RC4’ was not declared in this scope
libtorrent/src/pe_crypto.cpp: In constructor ‘libtorrent::DH_key_exchange::DH_key_exchange()’:
libtorrent/src/pe_crypto.cpp:49: error: ‘m_DH’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:49: error: ‘DH_new’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:51: error: ‘BN_bin2bn’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:57: error: ‘DH_generate_key’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:73: error: ‘BN_bn2bin’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:76: error: ‘BN_bn2bin’ was not declared in this scope
libtorrent/src/pe_crypto.cpp: In destructor ‘libtorrent::DH_key_exchange::~DH_key_exchange()’:
libtorrent/src/pe_crypto.cpp:82: error: ‘m_DH’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:82: error: ‘DH_free’ was not declared in this scope
libtorrent/src/pe_crypto.cpp: In member function ‘void libtorrent::DH_key_exchange::compute_secret(const char*)’:
libtorrent/src/pe_crypto.cpp:95: error: ‘BIGNUM’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:95: error: ‘bn_remote_pubkey’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:95: error: ‘BN_bin2bn’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:99: error: ‘m_DH’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:99: error: ‘DH_compute_key’ was not declared in this scope
libtorrent/src/pe_crypto.cpp:108: error: ‘BN_free’ was not declared in this scope
error: command 'gcc' failed with exit status 1
lee@lee-desktop:~/deluge$
It look like I was missing some things for openssl so I am installing it to see if that was the problem
lee@lee-desktop:~/deluge$ python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
running build
running build_py
running build_ext
building 'deluge_core' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c libtorrent/src/pe_crypto.cpp -o build/temp.linux-i686-2.5/libtorrent/src/pe_crypto.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
In file included from ./libtorrent/include/libtorrent/peer_id.hpp:43,
from ./libtorrent/include/libtorrent/pe_crypto.hpp:42,
from libtorrent/src/pe_crypto.cpp:40:
./libtorrent/include/libtorrent/config.hpp:36:28: error: boost/config.hpp: No such file or directory
error: command 'gcc' failed with exit status 1
lee@lee-desktop:~/deluge$
lee@lee-desktop:~/deluge$ python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
running build
running build_py
running build_ext
building 'deluge_core' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c libtorrent/src/pe_crypto.cpp -o build/temp.linux-i686-2.5/libtorrent/src/pe_crypto.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
In file included from ./libtorrent/include/libtorrent/peer_id.hpp:43,
from ./libtorrent/include/libtorrent/pe_crypto.hpp:42,
from libtorrent/src/pe_crypto.cpp:40:
./libtorrent/include/libtorrent/config.hpp:36:28: error: boost/config.hpp: No such file or directory
error: command 'gcc' failed with exit status 1
lee@lee-desktop:~/deluge$
I am in ubuntu gutsy 32bit
you need to install boost and friends. try sudo apt-get install g++ make python-all-dev python-gnome2-extras python-all python-dbus python-gtk2 python-notify librsvg2-common python-xdg python-support libboost-dev libboost-thread-dev libboost-date-time-dev libboost-filesystem-dev libboost-serialization-dev libssl-dev zlib1g-dev
lee@lee-desktop:~/deluge$ deluge
checking for ubuntu...
found and fixing ubuntu
lee@lee-desktop:~/deluge$ checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin DesiredRatio
Initialising plugin ExtraStats
Initialising plugin BlocklistImport
Initialising plugin WebUi
Initialising plugin Scheduler
Initialising plugin TorrentNotification
Initialising plugin NetworkGraph
Initialising plugin TorrentCreator
Initialising plugin WebSeed
Initialising plugin NetworkHealth
Initialising plugin SpeedLimiter
Initialising plugin TorrentPeers
Initialising plugin EventLogging
Initialising plugin FlexRSS
Initialising plugin AnonymizingBrowser
Initialising plugin TorrentFiles
Initialising plugin MoveTorrent
Initialising plugin Search
/home/lee/.themes/Darker theme/gtk-2.0/gtkrc:50: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/home/lee/.themes/Darker theme/gtk-2.0/gtkrc:51: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/home/lee/.themes/Darker theme/gtk-2.0/gtkrc:52: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
Applying preferences
Starting DHT...
Showing window
Found TorrentFiles plugin...
Found TorrentPeers plugin...
Found DesiredRatio plugin...
Network error while trying to check for a newer version of Deluge
Applying preferences
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used
after about 1 minute or so.
I have made sure that ports are open and I have changed the ports around to see if that fixes it but it is still crashing.
lee@lee-desktop:~/deluge$ deluge
checking for ubuntu...
found and fixing ubuntu
lee@lee-desktop:~/deluge$ checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin DesiredRatio
Initialising plugin ExtraStats
Initialising plugin BlocklistImport
Initialising plugin WebUi
Initialising plugin Scheduler
Initialising plugin TorrentNotification
Initialising plugin NetworkGraph
Initialising plugin TorrentCreator
Initialising plugin WebSeed
Initialising plugin NetworkHealth
Initialising plugin SpeedLimiter
Initialising plugin TorrentPeers
Initialising plugin EventLogging
Initialising plugin FlexRSS
Initialising plugin AnonymizingBrowser
Initialising plugin TorrentFiles
Initialising plugin MoveTorrent
Initialising plugin Search
/home/lee/.themes/Darker theme/gtk-2.0/gtkrc:50: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/home/lee/.themes/Darker theme/gtk-2.0/gtkrc:51: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/home/lee/.themes/Darker theme/gtk-2.0/gtkrc:52: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
Applying preferences
Starting DHT...
Showing window
Found TorrentFiles plugin...
Found TorrentPeers plugin...
Found DesiredRatio plugin...
Network error while trying to check for a newer version of Deluge
Applying preferences
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used
after about 1 minute or so.
I have made sure that ports are open and I have changed the ports around to see if that fixes it but it is still crashing.
removing ~/.config/deluge/persistent.state should get it running