The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics 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 12:05 PM
terminal device control through a C/C++ program ku@ntum High Level Programming 5 05-23-2007 01:44 PM
Problems Installing Top KenLynch SUN Solaris 2 01-29-2007 11:36 AM
Installing a program ImperialPanda UNIX for Dummies Questions & Answers 2 11-07-2005 10:18 PM
Installing a program! creative UNIX for Dummies Questions & Answers 1 12-25-2002 08:15 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-12-2008
Sixmax Sixmax is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 7
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
  #2 (permalink)  
Old 05-12-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB 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 -4. The time now is 04:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0