Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 19:35:06 -0800 (PST)
From:      Peter Jones <pjones@pmade.org>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        Allan Dib <dib.allan.l@edumail.vic.gov.au>, questions@FreeBSD.ORG
Subject:   Re: Installing a port
Message-ID:  <Pine.BSF.4.21.0011191933540.47420-100000@pmade.org>
In-Reply-To: <20001119210832.B69727@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Nov 2000, Stijn Hoop 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.

> 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?Pine.BSF.4.21.0011191933540.47420-100000>