Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 09:33:53 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Peter Jones <pjones@pmade.org>
Cc:        Allan Dib <dib.allan.l@edumail.vic.gov.au>, questions@freebsd.org
Subject:   Re: Installing a port
Message-ID:  <20001120093353.A72924@pcwin002.win.tue.nl>
In-Reply-To: <Pine.BSF.4.21.0011191933540.47420-100000@pmade.org>; from pjones@pmade.org on Sun, Nov 19, 2000 at 07:35:06PM -0800
References:  <20001119210832.B69727@pcwin002.win.tue.nl> <Pine.BSF.4.21.0011191933540.47420-100000@pmade.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001120093353.A72924>