SVN not building correctly
Posted: Tue Jan 08, 2008 5:22 pm
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
It look like I was missing some things for openssl so I am installing it to see if that was the problem
Code: Select all
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$