Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 1998 14:49:46 -0500
From:      "Vincent Fumo" <vincef@fast.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   installing ports
Message-ID:  <000101be3108$e52bb9a0$0201a8c0@gamer.vef.net>

Next in thread | Raw E-Mail | Index | Archive | Help
Ok...I'm really new to Unix and FreeBSD.. I hope my question isn't too
dumb..But I promise I'll never ask it again since once I learn something, I
almost never forget it.

I've downloaded a few ports from the freebsd homepage and am having trouble
installing them. Here's what I did and what happened.

I collected all the ports in a direcory in a regular user directory
(/usr/home/vince). The new directory was named stuff..(ie.
/usr/home/vince/stuff). I then did a list of the direcotry and had a list of
tar files (emacs.tar, etc.).

The first thing I tried to do was untar the files with this command:

tar xvf emacs.tar

At this point, tar tried to unarchive the files into their destinations but
couldn't create the directories. I had to do a 'su' and untar them as the
root. Not sure why I couldn't make the directories..All my permisions were
770 or more.

Once I had all the files unarchived, I had a bunch of ports in a directory.
One of which looked like this:

'hostname'% ll
total 4
drwxr-xr-x  4 root  207  512 Dec 26 15:36 devel
drwxr-xr-x  3 root  207  512 Dec 25 22:46 editors
drwxr-xr-x  4 root  207  512 Dec 26 15:35 emulators
drwxr-xr-x  8 root  207  512 Dec 26 15:36 games
% pwd
/usr/home/vincef/stuff/pub/FreeBSD/FreeBSD-current/ports
%

then I moved into the editors directory and then emacs to find this :

% cd editors/emacs
% ll
total 4
-rw-r--r--  1 root  207  910 Sep 14 06:23 Makefile
drwxr-xr-x  2 root  207  512 Oct 10  1997 files
drwxr-xr-x  2 root  207  512 Oct 10 18:28 patches
drwxr-xr-x  2 root  207  512 Sep 14 06:23 pkg
%

All seemed well until I tried the make command :

% make
>> emacs-19.34b.tar.gz doesn't seem to exist on this system.
>> Attempting to fetch from ftp://prep.ai.mit.edu/pub/gnu/./.
fetch: prep.ai.mit.edu: Unknown host
>> Attempting to fetch from ftp://wuarchive.wustl.edu/systems/gnu/./.
fetch: wuarchive.wustl.edu: Unknown host
>> Attempting to fetch from ftp://ftp.kddlabs.co.jp/pub/gnu/./.
fetch: ftp.kddlabs.co.jp: Unknown host
>> Attempting to fetch from ftp://ftp.digex.net/pub/gnu/./.
fetch: ftp.digex.net: Unknown host
>> Attempting to fetch from ftp://ftp.univ-evry.fr/pub/gnu/./.
fetch: ftp.univ-evry.fr: Unknown host
>> Attempting to fetch from ftp://ftp.cdrom.com/pub/gnu/./.
fetch: ftp.cdrom.com: Unknown host
>> Attempting to fetch from ftp://ftp.duke.edu/pub/gnu/./.
fetch: ftp.duke.edu: Unknown host
>> Attempting to fetch from ftp://ftp.gamma.ru/pub/gnu/./.
fetch: ftp.gamma.ru: Unknown host
>> Attempting to fetch from ftp://ftp.nihon-u.ac.jp/pub/gnu/./.
fetch: ftp.nihon-u.ac.jp: Unknown host
>> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//.
fetch: ftp.freebsd.org: Unknown host
>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
%

The same thing happened when I tried make install..

I'm sure this is a simple problem to solve, perhaps another switch in the
'make' command...This happens for all the ports I try.


Also, once I get the port installed..is it's use limited to just the user
that installed it? or is is available to all users? If it isnt', how can I
make it that way?

Thanks for your help :)



---vef---
vince@fumo.com
http://www.users.fast.net/~vincef


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000101be3108$e52bb9a0$0201a8c0>