On Fri, Dec 20, 2002 at 09:23:01AM -0800 Ali Nasseh <[EMAIL PROTECTED]> wrote:
> hi,
> i run freebsd 4.5 stable and when i try to install a
> new port like mpg123 it fails.
> my command to system and it's response is here:
[...]

> >> mpg123-0.59r-pl1.tar.gz doesn't seem to exist in
> /usr/ports/distfiles/.

This is an important directory for ports!

mpg123-0.59r-pl1.tar.gz is the name of the tarball it cannot find.

> >> Attempting to fetch from
> http://www.mpg123.de/mpg123/.
> >> Attempting to fetch from
> http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/.
> >> Attempting to fetch from
> ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/.
> >> Attempting to fetch from
> http://ftp.tu-clausthal.de/pub/unix/audio/mpg123/.
> >> Attempting to fetch from
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> >> Couldn't fetch it - please try to retrieve this
> >> port manually into /usr/ports/distfiles/ and try
> again.
> *** Error code 1
> 
> Stop in /usr/ports/audio/mpg123.
> *** Error code 1

[...]

> please let me know if i MUST hold a connection to the
> internet during the installations.if so, is there a
> way to avoid that connection?

Um, yes, you do need to be connected, unless you already have the
required tarballs in /usr/ports/distfiles.

> --thank you for any help

Your ports system was trying to remotely fetch a mpg123 tarball.  (There
are several tarballs here, actually, since there are patches to apply.)
It couldn't find one at the proper revision level (4.5-stable will be a
little "behind the times," probably).  All you need to do is find the
proper version of mpg123 from an ftp site somewhere and copy it to
/usr/ports/distfiles.

step 1:  cat /usr/ports/audio/mpg123/distinfo. | sed 's/^.*(\(.*\)).*$/\1/g'
This should return about four filenames.

step 2:  google search for the exact tarball name uncovered from the
previous command.  It should be found at 
http://www.mpg123.de/cgi-bin/sitexplorer.cgi?/mpg123/

step 3:  copy said tarballs to /usr/ports/distfiles and try making the
port again.

Also, see the handbook (www.freebsd.org/handbook/) and read the chapter
about the ports system.

-- 
David S. Jackson                        [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The best way to make a fire with two sticks is to
make sure one of them is a match.  -- Will Rogers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to