Page 1 of 1

Deluge install with SVN on Debian etch 4.1.1-21

Posted: Mon Oct 06, 2008 12:42 pm
by INFP
Hi there,

trying desperately to install deluge on my system. I've upgraded python to 2.5, setuptools to 0.6c9, and so on...and still, following the FAQ, my build fails.

Here is the error message I get, this has to do with libtorrents.

Any help greatly appreciated. ;)

gcc -fno-strict-aliasing -DNDEBUG -g -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/bt_peer_connection.cpp -o build/temp.linux-i686-2.5/./libtorrent/src/bt_peer_connection.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
./libtorrent/include/libtorrent/kademlia/routing_table.hpp: In constructor 'libtorrent::dht::aux::routing_table_iterator::routing_table_iterator(const std::pair<std::vector<libtorrent::dht::node_entry, std::allocator<libtorrent::dht::node_entry> >, std::vector<libtorrent::dht::node_entry, std::allocator<libtorrent::dht::node_entry> > >*, const std::pair<std::vector<libtorrent::dht::node_entry, std::allocator<libtorrent::dht::node_entry> >, std::vector<libtorrent::dht::node_entry, std::allocator<libtorrent::dht::node_entry> > >*)':
./libtorrent/include/libtorrent/kademlia/routing_table.hpp:110: error: no match for 'operator==' in '((libtorrent::dht::aux::routing_table_iterator*)this)->libtorrent::dht::aux::routing_table_iterator::m_iterator == ((libtorrent::dht::aux::routing_table_iterator*)this)->libtorrent::dht::aux::routing_table_iterator::m_bucket_iterator->std::pair<std::vector<libtorrent::dht::node_entry, std::allocator<libtorrent::dht::node_entry> >, std::vector<libtorrent::dht::node_entry, std::allocator<libtorrent::dht::node_entry> > >::first. std::vector<_Tp, _Alloc>::end [with _Tp = libtorrent::dht::node_entry, _Alloc = std::allocator<libtorrent::dht::node_entry>]()'
./libtorrent/include/libtorrent/time.hpp:142: note: candidates are: bool libtorrent::operator==(libtorrent::ptime, libtorrent::ptime)
/usr/include/boost/blank.hpp:56: note: bool boost::operator==(const boost::blank&, const boost::blank&)
/usr/include/boost/function/function_base.hpp:551: note: bool boost::operator==(boost::detail::function::useless_clear_type*, const boost::function_base&)
/usr/include/boost/function/function_base.hpp:539: note: bool boost::operator==(const boost::function_base&, boost::detail::function::useless_clear_type*)
./libtorrent/include/libtorrent/kademlia/routing_table.hpp: In member function 'bool libtorrent::dht::aux::routing_table_iterator::equal(const libtorrent::dht::aux::routing_table_iterator&) const':
./libtorrent/include/libtorrent/kademlia/routing_table.hpp:122: error: no match for 'operator==' in '((const libtorrent::dht::aux::routing_table_iterator*)this)->libtorrent::dht::aux::routing_table_iterator::m_iterator. boost::optional<T>::operator* [with T = __gnu_cxx::__normal_iterator<const libtorrent::dht::node_entry*, std::vector<libtorrent::dht::node_entry, std::allocator<libtorrent::dht::node_entry> > >]() == other->libtorrent::dht::aux::routing_table_iterator::m_iterator'
./libtorrent/include/libtorrent/time.hpp:142: note: candidates are: bool libtorrent::operator==(libtorrent::ptime, libtorrent::ptime)
/usr/include/boost/blank.hpp:56: note: bool boost::operator==(const boost::blank&, const boost::blank&)
/usr/include/boost/function/function_base.hpp:551: note: bool boost::operator==(boost::detail::function::useless_clear_type*, const boost::function_base&)
/usr/include/boost/function/function_base.hpp:539: note: bool boost::operator==(const boost::function_base&, boost::detail::function::useless_clear_type*)
error: command 'gcc' failed with exit status 1

Re: Deluge install with SVN on Debian etch 4.1.1-21

Posted: Mon Oct 06, 2008 1:50 pm
by johnnyg

Re: Deluge install with SVN on Debian etch 4.1.1-21

Posted: Mon Oct 06, 2008 2:21 pm
by INFP
Yep

Another info that might be usefull, at the very begining of the build, the outputsays that :

svn: '/usr/portage/distfiles/svn-src/deluge' n'est pas une copie de travail
svn: Impossible d'ouvrir le fichier '/usr/portage/distfiles/svn-src/deluge/.svn/entries': Aucun fichier ou répertoire de ce type


I've checked and I have no /usr/portage dir on my system.

Re: Deluge install with SVN on Debian etch 4.1.1-21

Posted: Mon Oct 06, 2008 5:07 pm
by danii
INFP wrote:Yep

Another info that might be usefull, at the very begining of the build, the outputsays that :

svn: '/usr/portage/distfiles/svn-src/deluge' n'est pas une copie de travail
svn: Impossible d'ouvrir le fichier '/usr/portage/distfiles/svn-src/deluge/.svn/entries': Aucun fichier ou répertoire de ce type


I've checked and I have no /usr/portage dir on my system.
that path is usual in Gentoo which relies heavily in the portage tree although you can use portage with other distros,
like johnnyg said you should follow the SVN guide your errors seem to indicate a faulty or missing Boost lib installation

Re: Deluge install with SVN on Debian etch 4.1.1-21

Posted: Mon Oct 06, 2008 6:09 pm
by INFP
As a matter of fact the Boost lib is in place and up to date....any other hint ?

Re: Deluge install with SVN on Debian etch 4.1.1-21

Posted: Tue Oct 07, 2008 7:56 am
by tristan
I get exactly the same error with Deluge 1.0.0 on Debian Etch (arm).

T.