From owner-freebsd-questions Fri Dec 20 10: 4:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9372137B401 for ; Fri, 20 Dec 2002 10:04:35 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E3AC43EE8 for ; Fri, 20 Dec 2002 10:04:35 -0800 (PST) (envelope-from deepbsd@earthlink.net) Received: from user-119a2km.biz.mindspring.com ([66.149.10.150] helo=sylvester.dsj.net) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18PRVc-0007Mo-00; Fri, 20 Dec 2002 10:04:29 -0800 Received: from sylvester.dsj.net (dsj@localhost [127.0.0.1]) by sylvester.dsj.net (8.12.3/8.12.3/Debian -4) with ESMTP id gBKI4RK4024561; Fri, 20 Dec 2002 13:04:27 -0500 Received: (from dsj@localhost) by sylvester.dsj.net (8.12.3/8.12.3/Debian -4) id gBKI4QCt024560; Fri, 20 Dec 2002 13:04:26 -0500 X-Authentication-Warning: sylvester.dsj.net: dsj set sender to deepbsd@earthlink.net using -f Date: Fri, 20 Dec 2002 13:04:26 -0500 From: "David S. Jackson" To: Ali Nasseh Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problem with installing new ports Message-ID: <20021220180426.GE17554@sylvester.dsj.net> Reply-To: "David S. Jackson" References: <20021220172301.62758.qmail@web10304.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021220172301.62758.qmail@web10304.mail.yahoo.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 20, 2002 at 09:23:01AM -0800 Ali Nasseh 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 dsj@dsj.net =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message