The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problems installing a program in Terminal Sixmax Shell Programming and Scripting 4 04-10-2008 09:05 AM
terminal device control through a C/C++ program ku@ntum High Level Programming 5 05-23-2007 10:44 AM
Problems Installing Top KenLynch SUN Solaris 2 01-29-2007 07:36 AM
Installing a program ImperialPanda UNIX for Dummies Questions & Answers 2 11-07-2005 06:18 PM
Installing a program! creative UNIX for Dummies Questions & Answers 1 12-25-2002 04:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-2008
Registered User
 

Join Date: Apr 2008
Posts: 7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Question Problems installing a program through Terminal in Mac OS X

Hey all..

I have a problem with the BitTorrent client called Deluge. (Deluge BitTorrent Client). Followed the guide on their homepage, but can't get it to work.
First of all I have installed Xcode Tools 3.0 and MacPorts. I did the "sudo port install deluge" command, and all packages seemed to download and install as they should. The only problem is when it comes to the program package itself. It get this error:

Code:
x1-6-00-1b-63-31-e7-88:~ sixtenthestrup$ export PATH=$PATH:/opt/local/bin
x1-6-00-1b-63-31-e7-88:~ sixtenthestrup$ export MANPATH=$MANPATH:/opt/local/share/man
x1-6-00-1b-63-31-e7-88:~ sixtenthestrup$ export INFOPATH=$INFOPATH:/opt/local/share/info
x1-6-00-1b-63-31-e7-88:~ sixtenthestrup$ sudo port install deluge
Password:
--->  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.
It seems to me like I don't have gcc 4.0 installed, but I don't understand that as it's pre-installed with Xcode Tools 3.0. I have tried to reinstall Xcode Tools, but still with the same error.
I have tried to post the question in the Deluge forums, but no answer.
I thought maybe one of you guys out there know how to do?
Deluge has been my primary BitTorrent client for a long time, but after I formatted my MacBook, it comes up with this error.
Hope someone can help me!

Greetings
Sixmax
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-12-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,203
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Can't help you with the actual problem, but the error message certainly comes from gcc-4.0 so you definitely have that installed. It basically means the source code contains an invalid C++ template construct.

Their trac returns no matches on asio::time_traits so if it's really a bug, it appears that they are not yet aware of it.

If you file a bug, the first thing they will want to know is which version you tried to build, and whether you get the same error with the latest development sources.
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 05:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102