From owner-freebsd-questions@FreeBSD.ORG Thu Jan 5 19:49:52 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 CDF2816A41F for ; Thu, 5 Jan 2006 19:49:52 +0000 (GMT) (envelope-from crispy.beef@ntlworld.com) Received: from mta07-winn.ispmail.ntl.com (mta07-winn.ispmail.ntl.com [81.103.221.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03D6B43D8E for ; Thu, 5 Jan 2006 19:49:51 +0000 (GMT) (envelope-from crispy.beef@ntlworld.com) Received: from aamta12-winn.ispmail.ntl.com ([81.103.221.35]) by mta07-winn.ispmail.ntl.com with ESMTP id <20060105194950.DUFC21883.mta07-winn.ispmail.ntl.com@aamta12-winn.ispmail.ntl.com>; Thu, 5 Jan 2006 19:49:50 +0000 Received: from [192.168.0.10] (really [82.12.81.129]) by aamta12-winn.ispmail.ntl.com with ESMTP id <20060105194950.QHVR774.aamta12-winn.ispmail.ntl.com@[192.168.0.10]>; Thu, 5 Jan 2006 19:49:50 +0000 Message-ID: <43BD785C.6010509@ntlworld.com> Date: Thu, 05 Jan 2006 19:49:48 +0000 From: Crispy Beef User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Michael P. Soulier" References: <43BD70ED.1000506@ntlworld.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Compiling Ports... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 19:49:52 -0000 Michael P. Soulier wrote: > On 1/5/06, Crispy Beef wrote: > >>Am trying to get my head around the ports system, specifically custom options >>when compiling. For example I would like to install apache 2.2 under it's own >>dir in /usr/local, say /usr/local/apache22. If I was rolling my own version >>using the configure script I would do: >> >>./configure prefix="/usr/local/apache22" > > > I believe the default prefix can be changed, but I'm unclear as to why > you would want to change it. The port installs a package that you can > then remove easily with the pkg tools. Why would you want to do this? Mainly as having Apache in it's own directory with all of it's files together makes it nice and easy to administer, when I compile stuff from scratch I always like to keep things clean, for example: /usr/local/php-5.1.1 /usr/local/mysql-5 /usr/local/apache13 /usr/local/apache22 I'm not too bothered having it all put in the default locations specified by the port, my Gentoo system does this in the same way, just wondered if there was a clean way to do it. :-)