[HOWTO] Install Deluge 1.3.3 with Macports

Support for Deluge on Apple Mac OS
carbncl
Leecher
Leecher
Posts: 92
Joined: Sun Nov 28, 2010 7:36 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by carbncl »

EDIT : Edited wiki with these instructions: feel free to comment / edit wiki : http://dev.deluge-torrent.org/wiki/Installing/MacOSX
I will try to complete the wiki page later, in order to deprecate this (too) long thread...

Oh and english is not my main language... So please be comprehensive (and edit!)
Last edited by carbncl on Sun Oct 09, 2011 7:03 pm, edited 1 time in total.
carbncl
Leecher
Leecher
Posts: 92
Joined: Sun Nov 28, 2010 7:36 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by carbncl »

py26-notify-python has just been removed from dependencies, installation should now be easier. Edited wiki.
genezkool323
New User
New User
Posts: 8
Joined: Sun Mar 07, 2010 7:05 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by genezkool323 »

Hey again carbncl,

It seems as if to discount all the hard time we've spent researching the broken libnotify dependency and your subsequent removal of libnotify from the Deluge port, it appears the MacPorts team has just resolved the dependency issue but only on OS X 10.7.2+. Just thought I'd let you know.

Keep up the good work!
carbncl
Leecher
Leecher
Posts: 92
Joined: Sun Nov 28, 2010 7:36 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by carbncl »

genezkool323 wrote:It seems as if to discount all the hard time we've spent researching the broken libnotify dependency and your subsequent removal of libnotify from the Deluge port, it appears the MacPorts team has just resolved the dependency issue but only on OS X 10.7.2+. Just thought I'd let you know.
Thanks for the info, I already noticed that, but I guess I won't request to add it to deluge port unless libnotify does something on OSX. (which I doubt)
melbgriz
New User
New User
Posts: 3
Joined: Fri Oct 21, 2011 12:59 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by melbgriz »

Hi all. I've read and followed this entire thread; the best currently out there, for Deluge installation on latest Mac running 10.7.2 and all latest versions of XCode and MacPorts. having followed all installation instructions, I'm continually stopped and frustrated at this final hurdle. I'd really appreciate the latest help, know I'm close, and anyone following this thread must surely have similar problems. Many thanks..

sudo port install deluge
---> Computing dependencies for deluge
---> Dependencies to be installed: py26-game py26-twisted py26-twisted-web2 py26-xdg
---> Building py26-game
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install py26-game
Log for py26-game is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-game/py26-game/main.log
Error: The following dependencies were not installed: py26-game py26-twisted py26-twisted-web2 py26-xdg
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
carbncl
Leecher
Leecher
Posts: 92
Joined: Sun Nov 28, 2010 7:36 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by carbncl »

melbgriz wrote:

Code: Select all

Log for py26-game is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-game/py26-game/main.log[/quote]
Could you paste the py26-game install error from this log? py26-game issues remind me some troubles, but can't remember what.
melbgriz
New User
New User
Posts: 3
Joined: Fri Oct 21, 2011 12:59 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by melbgriz »

think this is what you're after? cheers..

Code: Select all

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (py26-game)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (py26-game)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (py26-game)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (py26-game)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (py26-game)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (py26-game)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (py26-game)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Oct 21 23:56:47 EST 2011
:notice:build --->  Building py26-game
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (py26-game)
:debug:build Environment: CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' CPATH='/opt/local/include' MACOSX_DEPLOYMENT_TARGET='10.7' LIBRARY_PATH='/opt/local/lib' F90FLAGS='-m64' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-game/py26-game/work/.CC_PRINT_OPTIONS' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-game/py26-game/work/pygame-1.9.1release" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-game/py26-game/work/pygame-1.9.1release" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build 
:info:build running build
:info:build running build_py
:info:build running build_ext
:info:build building 'pygame.transform' extension
:info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -arch x86_64 -Ddarwin -D_NO_MMX_FOR_X86_64 -I/opt/local/include/SDL -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/transform.c -o build/temp.macosx-10.7-x86_64-2.6/src/transform.o
:info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -arch x86_64 -Ddarwin -D_NO_MMX_FOR_X86_64 -I/opt/local/include/SDL -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/rotozoom.c -o build/temp.macosx-10.7-x86_64-2.6/src/rotozoom.o
:info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -arch x86_64 -Ddarwin -D_NO_MMX_FOR_X86_64 -I/opt/local/include/SDL -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/scale2x.c -o build/temp.macosx-10.7-x86_64-2.6/src/scale2x.o
:info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -arch x86_64 -Ddarwin -D_NO_MMX_FOR_X86_64 -I/opt/local/include/SDL -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/scale_mmx.c -o build/temp.macosx-10.7-x86_64-2.6/src/scale_mmx.o
:info:build In file included from src/scale_mmx.c:33:
:info:build src/scale_mmx64.c:424:27: error: invalid instruction mnemonic 'movsxl'
:info:build         asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ "
:info:build                           ^
:info:build <inline asm>:1:191: note: instantiated into assembly here
:info:build          /* MMX code for inner loop of X bilinear filter */  movl             -44(%rbp),      %ecx;            pxor          %mm0,      %mm0;           1:                                           movsxl         (%rdi),      %rax;            add              $4,         %rdi;            movq           (%r10),      %mm1;            add              $8,         %r10;            movq           (%r11),      %mm2;            add              $8,         %r11;            movd   (%r8,%rax,4),      %mm4;            movd  4(%r8,%rax,4),      %mm5;            punpcklbw     %mm0,      %mm4;            punpcklbw     %mm0,      %mm5;            pmullw        %mm1,      %mm4;            pmullw        %mm2,      %mm5;            paddw         %mm4,      %mm5;            psrlw            $8,      %mm5;            packuswb      %mm0,      %mm5;            movd          %mm5,       (%r9);            add              $4,         %r9;            decl          %ecx;                        jne              1b;                        emms;                                      
:info:build                                                                                                                                                                                                      ^
:info:build In file included from src/scale_mmx.c:33:
:info:build src/scale_mmx64.c:499:27: error: invalid instruction mnemonic 'movsxl'
:info:build         asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ "
:info:build                           ^
:info:build <inline asm>:1:191: note: instantiated into assembly here
:info:build          /* MMX code for inner loop of X bilinear filter */  movl             -44(%rbp),      %ecx;            pxor          %mm0,      %mm0;           1:                                           movsxl         (%rdi),      %rax;            add              $4,         %rdi;            movq           (%r10),      %mm1;            add              $8,         %r10;            movq           (%r11),      %mm2;            add              $8,         %r11;            movd   (%r8,%rax,4),      %mm4;            movd  4(%r8,%rax,4),      %mm5;            punpcklbw     %mm0,      %mm4;            punpcklbw     %mm0,      %mm5;            pmullw        %mm1,      %mm4;            pmullw        %mm2,      %mm5;            paddw         %mm4,      %mm5;            psrlw            $8,      %mm5;            packuswb      %mm0,      %mm5;            movd          %mm5,       (%r9);            add              $4,         %r9;            decl          %ecx;                        jne              1b;                        emms;                                      
:info:build                                                                                                                                                                                                      ^
:info:build 2 errors generated.
:info:build error: command '/Developer/usr/bin/clang' failed with exit status 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-game/py26-game/work/pygame-1.9.1release" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for py26-game): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install py26-game
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Log for py26-game is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-game/py26-game/main.log
Last edited by Cas on Fri Oct 21, 2011 2:25 pm, edited 1 time in total.
Reason: Please use code tags when posting logs
carbncl
Leecher
Leecher
Posts: 92
Joined: Sun Nov 28, 2010 7:36 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by carbncl »

melbgriz wrote:think this is what you're after? cheers..
I guess you'll find your answer there : https://trac.macports.org/ticket/31701 :)
melbgriz
New User
New User
Posts: 3
Joined: Fri Oct 21, 2011 12:59 pm

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by melbgriz »

i'm new, i'm frustrated, and am just looking for whatever help is out there. and i'm still not getting any answers. can someone please help in some basic language? i can't be the only person on a Mac trying to install Deluge?
serine
New User
New User
Posts: 4
Joined: Tue Apr 05, 2011 5:15 am

Re: [HOWTO] Install Deluge 1.3.3 with Macports

Post by serine »

melbgriz wrote:i'm new, i'm frustrated, and am just looking for whatever help is out there. and i'm still not getting any answers. can someone please help in some basic language? i can't be the only person on a Mac trying to install Deluge?

What carbncl is trying to suggest is for you to read the ticket and perhaps try updating your dependencies. This thread is hand-holdy as it gets for compiling Deluge for mac. Each system and setup is different and I wouldn't exactly say that it's uncommon to encounter hiccups.

Keep trying—if this formidable group of users figured it out, I'm sure you can. Read, read, and read.
Post Reply