You are not logged in.

#1 2009-03-12 20:15:58

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

errors building deluge v0.5.9.4 from PKGBUILD

I successfully compiled deluge v1.1.4 and am now interested in v0.5.9.4 to see the differences, etc.  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:

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:

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?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-03-12 20:18:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: errors building deluge v0.5.9.4 from PKGBUILD

Incompatible boost version.

Offline

#3 2009-03-12 20:53:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: errors building deluge v0.5.9.4 from PKGBUILD

I'm using whatever is current in the repo 1.37 I believe.  Is there an easy way to downgrade to a prev version or...?

Here is the PKGBUILD in its entirety with no mention of versions unfortunately (the 1.1.x PKGBUILD has a >=1.37 for boost):

pkgname=deluge
pkgver=0.5.9.4
pkgrel=1
pkgdesc="A bittorrent client written with python and pygtk"
arch=('i686' 'x86_64')
url="http://deluge-torrent.org/"
license=('GPL2')
depends=('pygtk' 'boost' 'pyxdg' 'dbus-python' 'librsvg')
makedepends=('subversion' 'intltool')
conflicts=('deluge')
provides=('deluge')
source=(http://download.deluge-torrent.org/source/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('8baee1df11074ca523d57ddc157a4ce4')
sha1sums=('d5ef17e06fcc3232632f7bec7e2b7815ccac460c')
options=('!emptydirs')

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
}

Last edited by graysky (2009-03-12 20:56:54)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2009-03-12 21:57:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: errors building deluge v0.5.9.4 from PKGBUILD

You will have great difficulty building the old version against packages currently in the repo.  I tried a few moths ago because of lack of proxy support in the 1.0 release but even when I did compile it, it crashed on startup.

Offline

#5 2009-03-13 07:23:32

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: errors building deluge v0.5.9.4 from PKGBUILD

Ok... so it sounds like I don't have a path forward then..?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB