From owner-freebsd-questions@FreeBSD.ORG Tue Sep 12 19:59:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1FC8616A4D2 for ; Tue, 12 Sep 2006 19:59:48 +0000 (UTC) (envelope-from ograbme@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 373A143D7B for ; Tue, 12 Sep 2006 19:59:33 +0000 (GMT) (envelope-from ograbme@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so2138580wxd for ; Tue, 12 Sep 2006 12:59:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:x-mailer:reply-to:x-priority:message-id:to:cc:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; b=ZZfX7Ok+eZo/HCmXo6vJ7UzDgc9HWkAEd4i5ivpRCcBYOgEzoxyvZP7V0W6/ZKqmHxcPDZNsYeEI5/j3gj+Yv30+3cQqDDe9ltpfN09WXZXFGAEWsZrURkEPms2SmYqI4t7W1NUz6EWkgwQv42lrEJ5TRTM9/fl4wksi4gN9+lU= Received: by 10.70.29.7 with SMTP id c7mr8968662wxc; Tue, 12 Sep 2006 12:59:32 -0700 (PDT) Received: from server ( [67.34.208.42]) by mx.gmail.com with ESMTP id 6sm2911942wrh.2006.09.12.12.59.30; Tue, 12 Sep 2006 12:59:31 -0700 (PDT) Date: Tue, 12 Sep 2006 16:02:33 -0400 From: ograbme X-Mailer: The Bat! (v2.11.02) X-Priority: 3 (Normal) Message-ID: <186816020.20060912160233@gmail.com> To: "Jeff Rollin" In-Reply-To: <8a0028260609120341v61920cf5p3aad4710ef3bd634@mail.gmail.com> References: <8a0028260609120341v61920cf5p3aad4710ef3bd634@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: The Ports collection / FreeBSD CDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ograbme List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 19:59:48 -0000 Howdie Jeff (if I may) and others, Tuesday, September 12, 2006, 6:41:38 AM, you wrote: JR> On 12/09/06, Arindam wrote: >> >> I chose not to install the ports collection because as of now, I do >> not have access to Internet in my home-network and it would take a >> little while before I can set it up for browsing. I too took this same approach as the box I installed FreeBSD 6.1 Release is not hooked up to the Internet. I bypassed installing the Ports collection. The installation went well and I have been refamiliarizing myself with Unix CLI commands and reading bits and pieces of documentation here and there. FreeBSD is pretty neat and has quite a few subtle differences from systems I worked on some years back, i.e., Solaris, HP-UX, etc. Anyway, now I would like to install the ports collection without having to reinstall the whole system again, if possible, thus my interest in this thread. For instance, I decided I wanted to install sudo ... JR> The FreeBSD installation program asks if you want "to install the ports JR> collection," but what it actually does is install a bunch of directories JR> (under /usr/ports) that you can use to browse what's available in the ports JR> collection. For example, to download a port, say, Firefox compiled for use JR> with the Linux compatibility layer, go into /usr/ports/linux/linux-firefox JR> and type: JR> $ make install clean Using the above info, I created /usr/ports directory (/usr was there, but not /ports of course as I hadn't installed the Ports collection). I created another directory under /usr/ports/ named /sudo, thus resulting in /usr/ports/sudo. I had mounted the ports CD I have and located sudo-1.6.8p12.tar.gz in the distfiles directory. I copied it over into the /usr/ports/sudo directory, gunzipped it, and then untarred it. I then made sure I was in the directory containing sudo.c and all its attendent other files and tried the above "make install clean". Unfortunately it was a no-go. Resultant message I received was: "make: Don't know how to make install. Stop" Obviously I've done something wrong here ... misstepped or tried to do the impossible, huh? LOL! Perhaps, sudo can only be installed via the pkg-add route per your mention below? I invoked sysinstall, but didn't see right away anything clearly indicating the "path to take" in resolving my dilemma. I'll keep reading and trying and may be stumble across the proper way to accomplish this, but all the while monitoring this email list for further enlightenment. Then again, may be I should just do a complete new install and select "Yes" to installing the Ports collection at that time, huh? Naaaaah, one has to mess up to learn! And trust me, I've learned quite a bit by reading yours and others comments and suggestions. Thank for all of you being so willing to share your knowledge. Thanks in advance. P.S. Please advise what the proper mode of responding is in terms of replying. I did a "reply all" (to both Jeff and the list) for my first submission. However, perhaps I should of only replied to the list to eliminate unnecessary traffic. JR> ($ stands for the prompt, as you probably know); make reads the Makefile, JR> and according to instructions in it, downloads the sources and compiles JR> them; make install and make clean (given here in shorthand) respectively JR> install the compiled port and clean up after make. JR> The alternative way to install software is from packages, which are JR> pre-compiled ports. You can use sysinstall to install them, or pkg_add from JR> the commandline. Disc2 mostly contains some of these packages (others are on JR> Disc1).