From owner-freebsd-questions Mon Nov 20 0:36: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 24C3937B680 for ; Mon, 20 Nov 2000 00:36:01 -0800 (PST) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id D7CF7134A2; Mon, 20 Nov 2000 09:33:53 +0100 (CET) Date: Mon, 20 Nov 2000 09:33:53 +0100 From: Stijn Hoop To: Peter Jones Cc: Allan Dib , questions@freebsd.org Subject: Re: Installing a port Message-ID: <20001120093353.A72924@pcwin002.win.tue.nl> References: <20001119210832.B69727@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from pjones@pmade.org on Sun, Nov 19, 2000 at 07:35:06PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 19, 2000 at 07:35:06PM -0800, Peter Jones wrote: > > Hum, I can't think right away of a difference other than that the first is > > a lot shorter. > > > > 'make install' does a 'make all' (which is what you get if you type 'make') > > internally. > > > > The most secure method would be to do 2 separate steps: > > 1. cd /usr/ports/foobar && make > > as a user > > I don't think that this will work unless the user has write permission > to /usr/ports/distfiles and /usr/ports/foobar. Of course, you are correct. I forgot I changed it locally. --Stijn > > 2. become root and do > > cd /usr/ports/foobar && make install > > > > However, this breaks if the port needs to install any dependencies (because > > it'll try to install those using your user account), so you'll have to > > install each port manually. > > > > For normal use, just use 'make install' as root and you'll be fine. > > > > HTH, > > > > --Stijn > > -- > ....................................................................... > : Peter Jones : Unix Geek - Four Wheeling : > : pjones@pmade.org : Code Writing - Jesus Freak : > :....................................:................................: > :echo er|perl -0160 -pe ';$;=ord$/;s;^;"\U$/".chr($\;-11).chr$\;+4;e;': > :.....................................................................: > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message