From owner-freebsd-questions Mon Sep 30 23:18:36 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 1BCA937B401 for ; Mon, 30 Sep 2002 23:18:33 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id C07B843E42 for ; Mon, 30 Sep 2002 23:18:31 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 7413 invoked from network); 1 Oct 2002 06:18:30 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 1 Oct 2002 06:18:30 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id C8F232FDAB2; Tue, 1 Oct 2002 08:18:27 +0200 (CEST) Date: Tue, 1 Oct 2002 08:18:27 +0200 From: Roman Neuhauser To: Peter Leftwich , Lowell Gilbert Cc: FreeBSD LIST , questions@freebsd.org Subject: Re: Ports FAQ is a great read Message-ID: <20021001061827.GY30361@freepuppy.bellavista.cz> Mail-Followup-To: Peter Leftwich , Lowell Gilbert , FreeBSD LIST , questions@freebsd.org References: <20020930183217.R63034-100000@earl-grey.cloud9.net> <20021001002408.GD77771@vectors.cx> <44lm5iub48.fsf@be-well.ilk.org> <20020930183217.R63034-100000@earl-grey.cloud9.net> <20021001002408.GD77771@vectors.cx> <20020930183217.R63034-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44lm5iub48.fsf@be-well.ilk.org> <20021001002408.GD77771@vectors.cx> <20020930183217.R63034-100000@earl-grey.cloud9.net> User-Agent: Mutt/1.5.1i 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 # Hostmaster@Video2Video.Com / 2002-09-30 18:39:16 -0400: > RE: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html > RE2: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html > > This is a GREAT read, strongly recommended for newbies. One or two > corrections though. The part that says "Note: You must be the root user to > install ports" applies only if you don't edit the Makefil and specify a > different install path. I would say that this is obvious and not ports specific, thus not needed in the ports chapter. > (running "make ; make install" can be shortened to just "make install" > - cool!) as has been pointed out by anoter poster, these two commands are not equivalent. > The one thing I haven't learned yet is what "make install clean" does > exactly and why "make" can take different commands in the first place. i suggest you read the GNU make manual: http://www.gnu.org/manual/make/html_chapter/make_toc.html it's interesting reading (i really enjoyed it on the summer vacation last year), and it will give you good introduction on what makefiles are, and how come make can take more than one "command" as you called it. then proceed with the pmake (that's our make) tutorial at /usr/share/doc/psd/12.make/paper.ascii.gz. beware, it's a bit outdated, so where in doubt, the make(1) manpage is authoritative. > PS - RE2 is also an amazing read, kudo's to the fine authors!! what's RE2? # freebsd-questions-local@be-well.no-ip.com / 2002-09-30 22:49:27 -0400: > There are whole *books* written on make hmm, i could only find one book on make, by ORA, and that is pretty old. people who have read it and who i talked to said it wasn't the best stuff from ORA. -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 7:53AM up 13 days, 15:07, 17 users, load averages: 0.11, 0.14, 0.08 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message