From owner-freebsd-questions@freebsd.org Thu Jan 5 12:44:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16A39CA00E8 for ; Thu, 5 Jan 2017 12:44:19 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D387B12AE for ; Thu, 5 Jan 2017 12:44:18 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:54041] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id D3/18-05528-1AF3E685; Thu, 05 Jan 2017 12:44:17 +0000 Received: from [192.168.1.40] (helo=desktop.example.org) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1cP7Oy-0002u4-Or for freebsd-questions@freebsd.org; Thu, 05 Jan 2017 07:44:16 -0500 Subject: Re: Building base, other than by default To: freebsd-questions@freebsd.org References: <586D66D6.5070901@columbus.rr.com> <9e99b996-360d-2a9f-a5fc-5e2da45c551a@ShaneWare.Biz> <20170105074516.ed5b692adf4b8be8ef3bc904@sohara.org> From: scrat Message-ID: <39ad3caa-b879-236a-5c7b-11947d08cbd5@columbus.rr.com> Date: Thu, 5 Jan 2017 07:44:16 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170105074516.ed5b692adf4b8be8ef3bc904@sohara.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.88:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 12:44:19 -0000 On 01/05/17 02:45, Steve O'Hara-Smith wrote: > On Thu, 5 Jan 2017 16:19:05 +1030 > Shane Ambler wrote: > >> On 05/01/2017 07:49, Baho Utot wrote: >>> I am working on a script to build base and I want to build it in another >>> directory other than /usr/src. >>> I would also like to place the result binaries in another directory >>> other than /usr/obj. >>> I also would like to build as a non-root user. >>> >>> Is this possible and can I install base from the build. >> >> You can checkout the source code anywhere you want. The permissions on >> the directories should be the only factor preventing a user from >> compiling. > > -- snip details > > For even more details see man build. > Ok having a look