From owner-freebsd-questions Sat Oct 7 1:43:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 7249737B502 for ; Sat, 7 Oct 2000 01:43:53 -0700 (PDT) Received: (qmail 34173 invoked by uid 100); 7 Oct 2000 08:43:46 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14814.57922.564838.972557@guru.mired.org> Date: Sat, 7 Oct 2000 03:43:46 -0500 (CDT) To: Wyatt Banks Cc: questions@freebsd.org Subject: Re: cdrom / installing ports In-Reply-To: <96055560@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wyatt Banks writes: > I have my atapi cdrom defined in my kernal with 'device atapicd' > and it is mounted in fstab as '/dev/acd0a /cdrom ufs 0 0' > which works correctly, or so it appears, and I verify this by changing > to the /cdrom directory and am able to view files contained on the cdrom > but cannot install ports from it for some reason. In 'The Complete > FreeBSD' it says my cdrom must be mounted to /cdrom, which it is, and that > one port that I can build that licensing permits it to be on the cdrom > is xchat. I tried installing this from the cd by changing to > /usr/ports/irc/xchat and when I try the 'make' command, it tells me it > doesnt seem to exist on the system, as is shown in the book's example, but > then it only attempts to retrieve and build it via ftp, but this does not > work since I don't have any way of connecting it to the internet. How do > I make my computer look on the cdrom first, and is there a way to tell > which ports are only ftp retrievable? It's looking for the "distfile", which is the generic for the source distribution. Later versions of FreeBSD Releases (starting with 4.0, I believe) don't have distfiles on them any more. Greg will have to deal with the issue of the bookd being outdated. If you've got a version prior to 4.0, you'll have to install the ports collection on disk (from /stand/sysinstall), then mount the cdrom with the xchat distfile(s) on it as /cdrom. For 4.0 and later, you can see if you have a copy of the xchat package. To do that, mount each cdrom and check /cdrom/packages/All for an xchat*.tgz file (the * will be versioning information). If you find that, you can install it with pkg_add. This is a binary install, not from source. If you can't find it, or insist on a source install, you'll have to find some way to get the files it is looking for on your computer. Email, snailmail a floppy, whatever. Have whoever does it check the md5 sum on the file before sending it to you. Put the distfile where "make" says it should be, and you should be set.