The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problems installing a program through Terminal in Mac OS X Sixmax UNIX for Dummies Questions & Answers 1 05-12-2008 08:52 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
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-08-2008
Registered User
 

Join Date: Apr 2008
Posts: 7
Question 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 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 :-)

Greatings
Sixmax
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-08-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,111
/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.
Reply With Quote
  #3 (permalink)  
Old 04-08-2008
Registered User
 

Join Date: Apr 2008
Posts: 7
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?
Reply With Quote
  #4 (permalink)  
Old 04-08-2008
era era is offline
Herder of Useless Cats
 

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

Last edited by era; 04-08-2008 at 03:01 PM. Reason: some google hits
Reply With Quote
  #5 (permalink)  
Old 04-10-2008
Registered User
 

Join Date: Apr 2008
Posts: 7
Thank you for the advice

I got it to work by installing all the parts separately. Now it works great
:-)
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:24 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 Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0