Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Problems installing a program through Terminal in Mac OS X Post 302194175 by Sixmax on Monday 12th of May 2008 11:29:05 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

8. 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

9. 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
APT-BUILD(1)						      General Commands Manual						      APT-BUILD(1)

NAME
apt-build - Fetch sources and build packages optimized for your architecture. SYNOPSIS
apt-build [ options ] [ update ] [ upgrade ] [ world ] [ install pkg ] [ remove pkg ] [ info pkg ] DESCRIPTION
apt-build is an apt-get frontend to build and install architecture optimized packages. COMMANDS
update Retrieve new lists of packages upgrade Perform an upgrade world Rebuild your system install Build and install new packages source Download and extract source in the build directory info Info on a package which could be built remove Remove packages clean-build Erase built packages clean-sources Call debian/rules clean in source directories build-source Build source without installing them update-source Update sources and rebuild them if they are missing in the repository build-repository Rebuild the repository OPTIONS
--help Shows help --nowrapper Do not use the gcc wrapper --remove-builddep Remove build-dependencies installed by apt-build --no-source Don't download source --build-dir Specify build-dir --build-only Build package only --rebuild Rebuild a package --reinstall Build and install an already installed package --build-command <command> Use this command to build package --patch <file> Apply this patch before build (you can use this option one or several times) --patch-strip, -p <number> Prefix to strip on patch (0 = -p0, 1 = -p1 ...) --yes, -y Assume yes --purge Use purge instead of remove --noupdate Do not run 'apt-get update' before package installation --sources-list Specify sources.list file --apt-get Specify an alternative apt-get command --apt-cache Specify an alternative apt-cache command --force-yes Force yes --source Do not download source (sources are extracted already) --repository-dir Specify the repository directory --target-release Distribution to fetch packages from --config Specify an alternative configuration file --version, -v Show version BUGS
Many. AUTHOR
apt-build was written by Julien Danjou <acid@debian.org> with many contributors. 3rd Berkeley Distribution November 2003 APT-BUILD(1)
All times are GMT -4. The time now is 10:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy