LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem compiling Deluge (gcc error) (https://www.linuxquestions.org/questions/linux-software-2/problem-compiling-deluge-gcc-error-628436/)

Rehumanize 03-16-2008 11:08 AM

Problem compiling Deluge (gcc error)
 
I'm trying to compile/install Deluge 0.6.

Here's how I'm doing it:
Code:

svn co http://svn.deluge-torrent.org/branches/deluge-0.6 deluge-0.6
cd deluge-0.6
python setup.py build
python setup.py install

When I try to build, I get long output ending in an error. Here's the tail-end of the output:

Code:

::invoke_extension_factory::invoke_extension_factory(const<unnamed>::invoke_extension_factory&)
./libtorrent/bindings/python/src/session.cpp: In function ‘libtorrent::torrent_handle<unnamed>::add_torrent(libtorrent::session&, const libtorrent::torrent_info&, const boost::filesystem::path&, const libtorrent::entry&, libtorrent::storage_mode_t, bool)’:
./libtorrent/bindings/python/src/session.cpp:104: warning: ‘add_torrent’ is deprecated (declared at ./libtorrent/include/libtorrent/session.hpp:154)
./libtorrent/bindings/python/src/session.cpp: In function ‘void bind_session()’:./libtorrent/bindings/python/src/session.cpp:111: error: ‘class_’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:111: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:111: warning: left-hand operand of comma has no effect
./libtorrent/bindings/python/src/session.cpp:112: error: request for member ‘def_readonly’ in ‘(0, session_status_doc)’, which is of non-class type ‘const char*’
./libtorrent/bindings/python/src/session.cpp:168: error: ‘enum_’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:168: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:169: error: request for member ‘value’ in ‘("storage_mode_t")’, which is of non-class type ‘const char [15]’
./libtorrent/bindings/python/src/session.cpp:174: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:175: error: request for member ‘value’ in ‘("options_t")’, which is of non-class type ‘const char [10]’
./libtorrent/bindings/python/src/session.cpp:179: error: expected primary-expression before ‘,’ token
./libtorrent/bindings/python/src/session.cpp:179: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:179: warning: left-hand operand of comma has no effect
./libtorrent/bindings/python/src/session.cpp:179: error: ‘no_init’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:181: error: ‘init’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:181: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:181: error: ‘arg’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:193: error: invalid use of undefined type ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:194: error: invalid use of undefined type ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:195: error: invalid use of undefined type ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:197: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’
./libtorrent/bindings/python/src/session.cpp:198: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:199: error: invalid use of undefined type ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:209: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/session.cpp:211: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:215: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:220: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:224: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:229: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:233: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:237: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:241: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:244: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/session.cpp:245: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/session.cpp:246: error: invalid use of undefined type ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:246: error: ‘return_value_policy’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:246: error: ‘copy_const_reference’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:246: error: expected primary-expression before ‘)’ token
./libtorrent/bindings/python/src/session.cpp:248: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/session.cpp:251: error: invalid use of undefined type ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:253: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:254: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:255: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:257: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:259: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:260: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:261: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:262: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:263: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:264: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:265: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’
./libtorrent/bindings/python/src/session.cpp:268: error: ‘register_ptr_to_python’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:268: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:268: error: expected primary-expression before ‘)’ token
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = bool (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:193:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<bool (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = short unsigned int (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:194:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = libtorrent::session_status (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:195:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::entry&)]’:
./libtorrent/bindings/python/src/session.cpp:197:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)()]’:
./libtorrent/bindings/python/src/session.cpp:198:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)()>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = libtorrent::entry (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:199:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)]’:
./libtorrent/bindings/python/src/session.cpp:209:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(int)]’:
./libtorrent/bindings/python/src/session.cpp:211:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(int)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = int (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:215:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<int (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::session_settings&)]’:
./libtorrent/bindings/python/src/session.cpp:244:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::pe_settings&)]’:
./libtorrent/bindings/python/src/session.cpp:245:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = const libtorrent::pe_settings& (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:246:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(libtorrent::alert::severity_t)]’:
./libtorrent/bindings/python/src/session.cpp:248:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()]’:
./libtorrent/bindings/python/src/session.cpp:251:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::proxy_settings&)]’:./libtorrent/bindings/python/src/session.cpp:253:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::ip_filter&)]’:
./libtorrent/bindings/python/src/session.cpp:265:  instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’
error: command 'gcc' failed with exit status 1

Seems to be a gcc or maybe libtorrent problem, but I have no idea how to solve it. I've searched for the gcc error and find instructions to install packages that I already have. I have all the gcc packages including dev packages updated. Below is my gcc version
Code:

:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Can anyone help me out? This has been driving me crazy.

Junior Hacker 03-16-2008 11:41 AM

In Debian repositories there is:
Quote:

azureus
bittorrent
ctorrent
ktorrent (with KDE)
qtorrent
torrentflux
transmission
All of which are stable and easily installed properly using apt-get, synaptic or aptitude.
There is also a "deluge-torrent-0.5.7.1~debian-1" in my Debian Lenny repositories if you want to install something not designated "stable" yet which can also be installed easily and properly in a Debian system with the same package management systems. With CVS, software does not get to version 1.0 until it is stable.
No need to frustrate yourself installing something from source when there is ample selections of equal or better software in pre-compiled Debian binaries.

For a better analysis of the error you're getting trying to compile from source, post the entire error starting from the command you issued that produced all these errors as the clue may be towards the beginning.

Junior Hacker 03-16-2008 11:53 AM

If you click on the "download" link at the top of the page of the deluge link you provided you'll arrive at this page which has a link to the Debian pre-compiled binaries for that version you are trying to install.
From the directory you downloaded it into issue this command to install it (assuming you have the 32bit version):
Quote:

dpkg -i deluge-torrent_0.5.8.6-1_i386.lenny.deb
It can be installed in Etch also.

johnsfine 03-16-2008 12:10 PM

Edit: I have deleted the wrong answer I posted here earlier.

I was curious so I followed the instructions in your other thread and got very different results.

I first tried the instructions at http://deluge-torrent.org/faq.php#4n10 for "latest version" including that giant apt-get for all the dependencies, and including compiling but not installing that version. Did you get all those dependencies?

Then I followed the instructions from http://forum.deluge-torrent.org/view...e7f85c3#p15915 to get and compile version 0.6 in a different directory. It failed but not at all the way you described. The failure was due to a missing file that is part of the package libboost-python-dev so I installed that package as well
and far as I can tell the compile is now correct.

I checked the source code at the point of the error message you reported and despite what I thought was a distinctive error, the cause was not what I expected. I now think the cause is a missing dependency, but without info from earlier in the build log, I can't tell which.

Rehumanize 03-16-2008 08:44 PM

Well according to this thread, the deluge 5.8 packages need to be patched, and I had trouble doing it. I was told that version 6 would not need patching and is near-stable.

As for Azureus, I'd rather not use a java client, plus I remember having problems with the update plugin that comes with it...maybe I'll give it another shot.

I'll look through the other packages, thanks for the help. :)

Rehumanize 03-17-2008 02:34 PM

Quote:

Originally Posted by johnsfine (Post 3090400)
Edit: I have deleted the wrong answer I posted here earlier.

I was curious so I followed the instructions in your other thread and got very different results.

I first tried the instructions at http://deluge-torrent.org/faq.php#4n10 for "latest version" including that giant apt-get for all the dependencies, and including compiling but not installing that version. Did you get all those dependencies?

Then I followed the instructions from http://forum.deluge-torrent.org/view...e7f85c3#p15915 to get and compile version 0.6 in a different directory. It failed but not at all the way you described. The failure was due to a missing file that is part of the package libboost-python-dev so I installed that package as well
and far as I can tell the compile is now correct.

I checked the source code at the point of the error message you reported and despite what I thought was a distinctive error, the cause was not what I expected. I now think the cause is a missing dependency, but without info from earlier in the build log, I can't tell which.

Thank you...I needed the package libboost-python-dev. Compiled and installed now, working good. I guess libboost-python-dev is required along with the other dependencies for 0.6

Thanks again! :)

johnsfine 03-17-2008 02:45 PM

You ought to close off your question in the other forum with a message explaining you solved it by getting libboost-python-dev.

I'm surprised missing that package gave all those errors on your system that were so different from the errors that the same build missing the same package gave on my system (so in my post above I assumed you were missing some different dependency). I'm glad it worked out.

Rehumanize 03-17-2008 03:32 PM

Quote:

Originally Posted by johnsfine (Post 3091785)
You ought to close off your question in the other forum with a message explaining you solved it by getting libboost-python-dev.

I'm surprised missing that package gave all those errors on your system that were so different from the errors that the same build missing the same package gave on my system (so in my post above I assumed you were missing some different dependency). I'm glad it worked out.

Yeah, I closed it out here.

Hopefully it helps someone else, thanks again.


All times are GMT -5. The time now is 02:06 AM.