Problems installing a program through Terminal in Mac OS X


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problems installing a program through Terminal in Mac OS X
# 1  
Old 05-12-2008
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  
Old 05-12-2008
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Open Source

The Terminal on Mac OS X

Does anyone know the differences in commands when it come to Linux and Mac OS X? I'm wanting to know if I use "this" command in Linux and It doesn't work in Mac then what command is equivalent to the one in Linux. Example Ctrl+Alt+f2 switches to (tty2) so what equivalent switches to ttys2 on Mac? (13 Replies)
Discussion started by: 1negroup
13 Replies

2. OS X (Apple)

The Terminal on Mac: Coding

So found this C code online and need to compile it in Terminal on Mac. Here is the code: #include <stdio.h> #include <math.h> int option; char q; int number; int currentsum; int value; void calc() { printf("\t\t\t\t\tBegin\n"); // says begin in top middle of screen ... (3 Replies)
Discussion started by: 1negroup
3 Replies

3. UNIX for Advanced & Expert Users

close a mac terminal

Is there a trick to closing a mac terminal with a command? I would think you could just type exit into your terminal but that doesn't work. I also tried quit and close just for the hell of it and that didn't work either. Does anyone know what the command is? (1 Reply)
Discussion started by: cokedude
1 Replies

4. Shell Programming and Scripting

How to checkout from SVN using Terminal in Mac OS X?

Hi, I am new for SVN. Earlier I have been using CVS. When I checkout the code from SVN using Eclipse, the size of the source code checked out is 612MB. But when I try to checkout from terminal, from my 5.8 branch , the checked out source code's size is only 312.1 MB. Can anyone tell me... (0 Replies)
Discussion started by: Afreen
0 Replies

5. UNIX for Dummies Questions & Answers

How to create new users on my mac from the terminal

I finally got how to su - in my mac from the terminal. Now I would like to be able to add new users. useradd -m -d ..... doesn't seem to work. (1 Reply)
Discussion started by: bigmac18
1 Replies

6. OS X (Apple)

New to Mac OS X Terminal

Hi everyone. I'm new to using the Terminal and was just wondering if anyone had a link to perhaps a list of commands. And tips on some useful websites to visit or books to read. Oh and is there a way to delete just part of the Terminal's history? If so what is the command? Thanks :) (2 Replies)
Discussion started by: xsemperidem5
2 Replies

7. Shell Programming and Scripting

Problems installing a program in Terminal

Hey First of all: I'm on a Mac. I'm quite new to this, so forgive me if i sound like a newb :-) I wish to install the Deluge BitTorrent client. First of all I installed Macports and made it run smooth. But then I ran into a problem when I should install Deluge. I can post the log, and maybe... (4 Replies)
Discussion started by: Sixmax
4 Replies

8. UNIX for Dummies Questions & Answers

Running Terminal and/or X-Windows in Mac OS X

Quick question: When I load up Terminal or X-Windows on my Mac, and the prompt comes up...what folder am I starting in? (2 Replies)
Discussion started by: liquidcross
2 Replies

9. UNIX for Dummies Questions & Answers

Mac OS X/UNIX/Terminal Question

Hey everyone I'm new to UNIX due to the new Mac OS X operating system and would like some help. I'm trying to send an email via the UNIX-Shell-Terminal i Mac OS X, (it's called darwin) How do I do that? When I enter the Command mail I can send messages to root and with the command -forward... (4 Replies)
Discussion started by: onkel
4 Replies
Login or Register to Ask a Question