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 :slight_smile:
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 you'll know what is wrong with the process:

x1-6-00-1b-63-31-e7-88:~ sixtenthestrup$ sudo port install deluge
---> Fetching boost-jam
---> Attempting to fetch boost-jam-3.1.16.tgz from SourceForge.net: Files
---> Verifying checksum(s) for boost-jam
---> Extracting boost-jam
---> Configuring boost-jam
---> Building boost-jam
---> Staging boost-jam into destroot
---> Installing boost-jam 3.1.16_0
---> Activating boost-jam 3.1.16_0
---> Cleaning boost-jam
---> Fetching expat
---> Attempting to fetch expat-2.0.1.tar.gz from SourceForge.net: Files
---> Verifying checksum(s) for expat
---> Extracting expat
---> Configuring expat
---> Building expat with target all
---> Staging expat into destroot
---> Installing expat 2.0.1_0
---> Activating expat 2.0.1_0
---> Cleaning expat
---> Fetching libiconv
---> Attempting to fetch libiconv-1.12.tar.gz from Index of /gnu/libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv with target all
---> Staging libiconv into destroot
---> Installing libiconv 1.12_0
---> Activating libiconv 1.12_0
---> Cleaning libiconv
---> Fetching ncursesw
---> Attempting to fetch ncurses-5.6.tar.gz from Index of /gnu/ncurses
---> Verifying checksum(s) for ncursesw
---> Extracting ncursesw
---> Applying patches to ncursesw
---> Configuring ncursesw
---> Building ncursesw with target all
---> Staging ncursesw into destroot
---> Installing ncursesw 5.6_1
---> Activating ncursesw 5.6_1
---> Cleaning ncursesw
---> Fetching ncurses
---> Verifying checksum(s) for ncurses
---> Extracting ncurses
---> Applying patches to ncurses
---> Configuring ncurses
---> Building ncurses with target all
---> Staging ncurses into destroot
---> Installing ncurses 5.6_0
---> Activating ncurses 5.6_0
---> Cleaning ncurses
---> Fetching gettext
---> Attempting to fetch gettext-0.17.tar.gz from Index of /gnu/gettext
---> Verifying checksum(s) for gettext
---> Extracting gettext
---> Applying patches to gettext
---> Configuring gettext
---> Building gettext with target all
---> Staging gettext into destroot
---> Installing gettext 0.17_3
---> Activating gettext 0.17_3
---> Cleaning gettext
---> Fetching gmake
---> Attempting to fetch make-3.81.tar.bz2 from Index of /gnu/make
---> Verifying checksum(s) for gmake
---> Extracting gmake
---> Configuring gmake
---> Building gmake with target all
---> Staging gmake into destroot
---> Installing gmake 3.81_0
---> Activating gmake 3.81_0
---> Cleaning gmake
---> Fetching boost
---> Attempting to fetch boost_1_34_1.tar.bz2 from SourceForge.net: Files
---> Verifying checksum(s) for boost
---> Extracting boost
---> Configuring boost
---> Building boost with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_34_1" && gmake all " returned error 2
Command output: Makefile:2: *** missing separator. Stop.

Error: The following dependencies failed to build: boost dbus-python25 dbus docbook-xml-4.1.2 xmlcatmgr libxml2 zlib pkgconfig xmlto docbook-xml-4.2 docbook-xsl getopt libxslt dbus-glib glib2 py25-gobject python25 py25-numeric librsvg libart_lgpl libcroco libgsf gnome-vfs desktop-file-utils popt gconf gtk2 atk cairo fontconfig freetype libpng render xrender gtk-doc gnome-doc-utils docbook-xml docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso-codes py25-hashlib openssl p5-xml-parser perl5.8 py25-libxml2 rarian intltool gnome-common jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info tiff orbit2 libidl gnome-mime-data libbonobo py25-gtk libglade2 py25-cairo py25-numpy fftw-3 g95 py25-xdg py25-zlib
Error: Status 1 encountered during processing.
x1-6-00-1b-63-31-e7-88:~ sixtenthestrup$

Hope that someone knows what to do :slight_smile:

Greatings
Sixmax

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_34_1/Makefile contains a syntax error. Maybe it didn't download correctly, or you ran out of disk. Can you post the first half-dozen lines from that file? It should be just nerd-readable text.

I think you mean this:

BJAM=./tools/jam/src/bin.macosxx86/bjam
BJAM_CONFIG=
PREFIX=/opt/local
EPREFIX=/opt/local
LIBDIR=/opt/local/lib
INCLUDEDIR=/opt/local/include
LIBS= --without-python

all: .dummy
@echo "$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS)"
@$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS) || \
echo "Not all Boost libraries built properly."

clean: .dummy
rm -rf bin.v2

distclean: clean
rm -rf Makefile config.log

check: .dummy
@cd status && ../$(BJAM) $(BJAM_CONFIG) --user-config=../user-config.jam || echo "Some Boost regression tests failed. This is normal for many compilers."

install: .dummy
@echo "$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam --prefix=$(PREFIX) --exec-prefix=$(EPREFIX) --libdir=$(LIBDIR) --includedir=$(INCLUDEDIR) $(LIBS) install"
@$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam --prefix=$(PREFIX) --exec-prefix=$(EPREFIX) --libdir=$(LIBDIR) --includedir=$(INCLUDEDIR) $(LIBS) install || echo "Not all Boost libraries built properly."

.dummy:

The Boots libary will not build as they should?

The "missing separator" on line 2 is certainly not visible here. In theory you should use "code tags" so that we can see indents etc properly, but anyway, this looks fine to me.

What does gmake --version print?

Really out of steam here, sorry I can't help more.

Update: Looks like you are not alone with this problem. The Nabble thread suggests simply trying again and again, and again.

Thank you for the advice

I got it to work by installing all the parts separately. Now it works great
:slight_smile: