Page 1 of 1

errors compiling v0.5.9.4

Posted: Thu Mar 12, 2009 8:14 pm
by graysky
I successfully compiled v1.1.4 on my arch box and am now interested in v0.5.9.4 to see the differences. Anyway, I removed 1.1.4 and attempted to compile 0.5.9.4 but it ended in errors. I am using the PKGBUILD for this version I found from http://download.deluge-torrent.org/arch/0.5.9.4/ In short, here is the build command which I ran:

Code: Select all

build() {

  cd $startdir/src/$pkgname-torrent-$pkgver
  python setup.py install --prefix=/usr --root=$startdir/pkg

  install -D -m644 pixmaps/deluge.svg $startdir/pkg/usr/share/pixmaps/deluge.svg
}
Here is the last bit before and including the compile error:

Code: Select all

ilter.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
gcc -pthread -DNDEBUG -fwrapv -O3 -Wall -march=i686 -mtune=generic -O2 -pipe -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.6 -I/usr/include/python2.6 -c libtorrent/src/disk_io_thread.cpp -o build/temp.linux-i686-2.6/libtorrent/src/disk_io_thread.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/src/disk_io_thread.cpp:35:
./libtorrent/include/libtorrent/disk_io_thread.hpp:135: error: ‘condition’ in namespace ‘boost’ does not name a type
libtorrent/src/disk_io_thread.cpp: In member function ‘void libtorrent::disk_io_thread::join()’:
libtorrent/src/disk_io_thread.cpp:97: error: ‘m_signal’ was not declared in this scope
libtorrent/src/disk_io_thread.cpp: In member function ‘void libtorrent::disk_io_thread::stop(boost::intrusive_ptr<libtorrent::piece_manager>)’:
libtorrent/src/disk_io_thread.cpp:124: error: ‘m_signal’ was not declared in this scope
libtorrent/src/disk_io_thread.cpp: In member function ‘void libtorrent::disk_io_thread::add_job(const libtorrent::disk_io_job&, const boost::function<void ()(int, const libtorrent::disk_io_job&)>&)’:
libtorrent/src/disk_io_thread.cpp:209: error: ‘m_signal’ was not declared in this scope
libtorrent/src/disk_io_thread.cpp: In member function ‘void libtorrent::disk_io_thread::operator()()’:
libtorrent/src/disk_io_thread.cpp:243: error: ‘m_signal’ was not declared in this scope
error: command 'gcc' failed with exit status 1
Is there anything obvious that would cause this?

Re: errors compiling v0.5.9.4

Posted: Fri Mar 13, 2009 1:35 pm
by damoxc
At a guess I would say conflicting versions of boost (ie. the version of boost installed is too new for that version of libtorrent).

Re: errors compiling v0.5.9.4

Posted: Fri Mar 13, 2009 7:09 pm
by graysky
Thanks for the reply, damoxc. I guess I can't run it.