Deluge in Leopard - building issue?

Support for Deluge on Apple Mac OS
neurophyre
New User
New User
Posts: 5
Joined: Wed Sep 26, 2007 8:49 am

Re: Deluge in Leopard - building issue?

Post by neurophyre »

I have yet another new problem building Deluge 0.5.8.9 on 10.5.2 with the latest MacPorts and XCode 3.0.

(This is after fighting my way through getting all the dependencies installed.)

Code: Select all

$ sudo port install deluge
--->  Building deluge with target build
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_deluge/work/deluge-torrent-0.5.8.9" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: Attempting to detect your system information
32bit x86 system detected
Darwin / OS X system detected
running build
running build_py
running build_ext
building 'deluge_core' extension
/usr/bin/gcc-4.0 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c libtorrent/src/alert.cpp -o build/temp.macosx-10.3-i386-2.5/libtorrent/src/alert.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
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
./libtorrent/include/libtorrent/time.hpp:157: error: 'time_traits' is not a template
./libtorrent/include/libtorrent/time.hpp:158: error: explicit specialization of non-template 'asio::time_traits'
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Error: Status 1 encountered during processing.
Here is the bug I submitted to MacPorts: http://trac.macports.org/ticket/15253

Here are some bugs I commented on or found useful in fighting to get the dependencies installed:

http://trac.macports.org/ticket/15201 (desktop-file-utils 0.15 build error)
http://trac.macports.org/ticket/13930 (fails to build various py25-whatever dependencies with -DNDEBUG error)
hellfried
New User
New User
Posts: 4
Joined: Sun Nov 11, 2007 8:59 am

Re: Deluge in Leopard - building issue?

Post by hellfried »

got an error during the installation of deluge :
sudo port install deluge
---> Fetching boost-jam
---> Attempting to fetch boost-jam-3.1.16.tgz from http://downloads.sourceforge.net/boost
---> Verifying checksum(s) for boost-jam
---> Extracting boost-jam
---> Configuring boost-jam
---> Building boost-jam
---> Staging boost-jam into destroot
---> Installing boost-jam 3.1.16_0
---> Activating boost-jam 3.1.16_0
---> Cleaning boost-jam
---> Fetching expat
---> Attempting to fetch expat-2.0.1.tar.gz from http://downloads.sourceforge.net/expat
---> Verifying checksum(s) for expat
---> Extracting expat
---> Configuring expat
---> Building expat with target all
---> Staging expat into destroot
---> Installing expat 2.0.1_0
---> Activating expat 2.0.1_0
---> Cleaning expat
---> Fetching gperf
---> Attempting to fetch gperf-3.0.3.tar.gz from http://ftp.gnu.org/gnu/gperf
---> Verifying checksum(s) for gperf
---> Extracting gperf
---> Configuring gperf
---> Building gperf with target all
---> Staging gperf into destroot
---> Installing gperf 3.0.3_0
---> Activating gperf 3.0.3_0
---> Cleaning gperf
---> Fetching libiconv
---> Attempting to fetch libiconv-1.12.tar.gz from http://ftp.gnu.org/gnu/libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv with target all
---> Staging libiconv into destroot
---> Installing libiconv 1.12_0
---> Activating libiconv 1.12_0
---> Cleaning libiconv
---> Fetching ncursesw
---> Attempting to fetch ncurses-5.6.tar.gz from http://ftp.gnu.org/gnu/ncurses
---> Verifying checksum(s) for ncursesw
---> Extracting ncursesw
---> Applying patches to ncursesw
---> Configuring ncursesw
---> Building ncursesw with target all
---> Staging ncursesw into destroot
---> Installing ncursesw 5.6_1
---> Activating ncursesw 5.6_1
---> Cleaning ncursesw
---> Fetching ncurses
---> Verifying checksum(s) for ncurses
---> Extracting ncurses
---> Applying patches to ncurses
---> Configuring ncurses
---> Building ncurses with target all
---> Staging ncurses into destroot
---> Installing ncurses 5.6_0
---> Activating ncurses 5.6_0
---> Cleaning ncurses
---> Fetching gettext
---> Attempting to fetch gettext-0.17.tar.gz from http://ftp.gnu.org/gnu/gettext
---> Verifying checksum(s) for gettext
---> Extracting gettext
---> Applying patches to gettext
---> Configuring gettext
---> Building gettext with target all
---> Staging gettext into destroot
---> Installing gettext 0.17_3
---> Activating gettext 0.17_3
---> Cleaning gettext
---> Fetching gmake
---> Attempting to fetch make-3.81.tar.bz2 from http://ftp.gnu.org/gnu/make
---> Verifying checksum(s) for gmake
---> Extracting gmake
---> Configuring gmake
---> Building gmake with target all
---> Staging gmake into destroot
---> Installing gmake 3.81_0
---> Activating gmake 3.81_0
---> Cleaning gmake
---> Fetching boost
---> Attempting to fetch boost_1_35_0.tar.bz2 from http://downloads.sourceforge.net/boost
---> Verifying checksum(s) for boost
---> Extracting boost
---> Applying patches to boost
---> Configuring boost
---> Building boost with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_35_0" && gmake all " returned error 2
Command output: Makefile:2: *** missing separator. Stop.

Error: The following dependencies failed to build: boost dbus-python25 dbus pkgconfig dbus-glib glib2 py25-gobject libxslt libxml2 zlib python25 py25-numeric librsvg libart_lgpl libcroco libgsf gnome-vfs desktop-file-utils popt gconf gtk2 atk cairo fontconfig freetype libpixman libpng render xrender jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info p5-xml-parser perl5.8 tiff intltool gnome-common orbit2 libidl gnome-mime-data openssl libbonobo py25-gtk libglade2 py25-cairo py25-numpy fftw-3 g95 py25-hashlib py25-xdg py25-zlib
Error: Status 1 encountered during processing.
i haven't got to the actual deluge package yet! help!
User avatar
oriain
Member
Member
Posts: 18
Joined: Wed Mar 19, 2008 8:20 pm
Location: Vancouver, WA

Re: Deluge in Leopard - building issue?

Post by oriain »

@neurophyre, your problem seems to be the same problem that everyone is having installing 0.5.8.9 on 10.5.2. Thanks for putting in that ticket. It's really frustrating that no one seems to be fixing it. I know that a lot is going into 0.6 development and people have their own lives, but this problem seems to have been around for a while. There is a thread specifically for this problem even. http://forum.deluge-torrent.org/viewtop ... f=7&t=5585 There's not really any help on it though. :(
MySchizoBuddy

Re: Deluge in Leopard - building issue?

Post by MySchizoBuddy »

you have to install boost with python 2.5 support.
so do this instead

Code: Select all

sudo port install boost +python25
I'm able to compile 0.9.09 just fine with no compile problems using macports

but when i run deluge i get this error "Fatal Python error: Interpreter not initialized (version mismatch?)"
i think its because deluge compile with debugging enabled and my python compile is without debugging. Hence the version mismatch.

I do however, see the deluge window with no icons. but its still better than other guys having compile problems.
Yuki
New User
New User
Posts: 5
Joined: Wed Dec 12, 2007 8:13 pm

Re: Deluge in Leopard - building issue?

Post by Yuki »

It has been 9 months since I tried this last and still can't get it to compile (gcc error) I can't believe some people got it to work when so many of us have so much trouble. Does anyone know of a place that has the program compiled? I am still searching myself but come up with nothing on the compiled version or the fix for that error.
ch3vant

Re: Deluge in Leopard - building issue?

Post by ch3vant »

Hi
I have a problem when building gtk2:

Code: Select all

checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking for jas_init in -ljasper... no
configure: error:
*** Checks for JPEG2000 loader failed. You can build without it by passing
*** --without-libjasper to configure

Error: The following dependencies failed to build: librsvg libgsf gnome-vfs gconf gtk2 orbit2 libidl gnome-mime-data openssl libbonobo py25-gtk libglade2 py25-cairo py25-numpy fftw-3 py25-hashlib py25-setuptools py25-zlib py25-xdg
Error: Status 1 encountered during processing.
How do I solve this dependence?

Excuse me, for possibly bad English :oops:
Post Reply