Problems installing a program in Terminal


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Problems installing a program in Terminal
# 1  
Old 04-08-2008
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
# 2  
Old 04-08-2008
/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.
# 3  
Old 04-08-2008
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?
# 4  
Old 04-08-2008
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 07:01 PM.. Reason: some google hits
# 5  
Old 04-10-2008
Thank you for the advice

I got it to work by installing all the parts separately. Now it works great
:-)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Set Proxy In The Terminal & problem Package Installing

Centos Behind The Proxy Server In My System , How Can I Set In Terminal Proxy ( Username & Password ) When Using The Command yum & rpm online I Will Respond Error Thank You For Your Guidance (28 Replies)
Discussion started by: mnnn
28 Replies

2. Fedora

How to use terminal while keeping a program open?

hi all, I open Matlab program from terminal. However, when I go back to terminal I can't do anything in it , only until Matlab is closed. Can someone please advise me on how I can oversome this problem ? thanks peter (2 Replies)
Discussion started by: peter_071
2 Replies

3. AIX

Installing SAMBA problems

I have created an LPAR and the next step is to get SAMBA installed, I have mounted our NIM server up and copied over the SAMBA binaries .bff files. How do i install these? i tried doing this through SMIT but had no luck..? Any help would be greatly appreciated. AIX OS 6.1 (2 Replies)
Discussion started by: audis$
2 Replies

4. UNIX for Dummies Questions & Answers

Installing Java Problems

Hello, When i attempt to install Java. I get this error code Can someone tell me what im doing wrong. (2 Replies)
Discussion started by: Fob Upset
2 Replies

5. UNIX for Dummies Questions & Answers

Problems running script on remote Terminal

Hi, I'm new here so please excuse any stupidity that occurs in my post :P My situation: Have a java program which I have to run a ridiculous amount of times and put the output data into a text file. Thought the easiest way to do this would be to delve into the world of scripts. I am at home... (1 Reply)
Discussion started by: lozyness
1 Replies

6. Solaris

Problems installing Solaris 10

I just built my new computer with a q6600 quad core, 4 gig ram, Nvidia vidoo card but when I try to install the latest Solaris 10 on it the keyboard is not being detected when the installation starts so I'm unable to go complete the installation. First I tried a USB keyboard and it didn't work,... (2 Replies)
Discussion started by: isomorphic
2 Replies

7. UNIX for Dummies Questions & Answers

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... (1 Reply)
Discussion started by: Sixmax
1 Replies

8. Programming

terminal device control through a C/C++ program

Hi, I want to fork a new process from a daemon that needs terminal attachment to some ttyN or pts/N device. Here is the code #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <string.h> int main(int... (5 Replies)
Discussion started by: ku@ntum
5 Replies

9. Solaris

Problems de-installing NetConnect

I have run into a problem while attempting to de-install netconnect from a Sol8 box. We got an error during the un-install script when it tries to remove SUNWsrsrp. It can't find the srsuser. We have no idea what user was specified initially. I have tried to remove the package on its own, to no... (2 Replies)
Discussion started by: i_am_homer
2 Replies

10. UNIX for Dummies Questions & Answers

Problems installing perl5

Hi!! I have problems installing perl5 in a Tru64 4.0F enviroment, and i need it to install OpenSSL and OpenSSH to establis a SFTP... I'm installing perl 5.8.8 but an error occurr during make test, i ran ./perl harness and the result is the problem is on op/filetest.t I didn't know what to... (0 Replies)
Discussion started by: irasela
0 Replies
Login or Register to Ask a Question