From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 19:03:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1A4D106564A for ; Sun, 14 Mar 2010 19:03:32 +0000 (UTC) (envelope-from me@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id B76968FC08 for ; Sun, 14 Mar 2010 19:03:32 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id 9664C73F184F for ; Sun, 14 Mar 2010 11:40:06 -0700 (PDT) Message-ID: <4B9D3363.2050707@johnea.net> Date: Sun, 14 Mar 2010 12:04:43 -0700 From: johnea User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Shredder/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <491164.77435.qm@web24805.mail.ird.yahoo.com> In-Reply-To: <491164.77435.qm@web24805.mail.ird.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Re : building from source after freebsd-update 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: Sun, 14 Mar 2010 19:03:32 -0000 On 2010-03-14 05:39, Alexandre L. wrote: > Please read the handbook section related to the FreeBSD update tool > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > freebsd-update is a binary update tool, so you haven't got anything to rebuild, except your custom kernel (if you are using one). That handbook section is where I read: "The default is to update the source code, the entire base system, and the kernel." And in fact much of the /usr/src/ does contain source code. /usr/src/sys/ subdirectories seem populated, and some directories under /usr/src/usr.bin/ and /usr/src/usr.sbin/ contain source, while others only contain the Makefile. /usr/src/usr.sbin/sendmail/ contains only the Makefile. Which lead to the make depend error I experienced. It seems like I could build the kernel, and parts of the non-kernel base, but not other parts. After RTFMing, scroogling for days, and going through UPDATINGs and READMEs I'm still not clear on how to mix freebsd-update and building all or parts of the base source. I'm interested in being able to build system apps in the base, custom kernel modules, and eventually the entire kernel. freebsd-update is _extremely_ painless for tracking the security patches. It would be nice to be able to mix this with a certain amount of building source. Any insight is greatly appreciated... johnea