From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 21 20:35:17 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 965E7106568A for ; Fri, 21 Mar 2008 20:35:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 496038FC17 for ; Fri, 21 Mar 2008 20:35:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m2LKViV9071446; Fri, 21 Mar 2008 14:31:44 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 21 Mar 2008 14:32:24 -0600 (MDT) Message-Id: <20080321.143224.556005365.imp@bsdimp.com> To: v.haisman@sh.cvut.cz From: "M. Warner Losh" In-Reply-To: <47E419A5.7060407@sh.cvut.cz> References: <20080319043647.GA6088@kobe.laptop> <20080321.103454.174086793.imp@bsdimp.com> <47E419A5.7060407@sh.cvut.cz> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: keramida@ceid.upatras.gr, hackers@freebsd.org Subject: Re: Building in /usr/src copied to $HOME X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 20:35:17 -0000 In message: <47E419A5.7060407@sh.cvut.cz> V=E1clav Haisman writes: : M. Warner Losh wrote, On 21.3.2008 17:34: : > In message: <20080319043647.GA6088@kobe.laptop> : > Giorgos Keramidas writes: : > : On 2008-03-18 21:28, V??clav Haisman wrote= : : > : > Hi, : > : > I am trying to use /usr/src copied to my $HOME but the build pr= ocess : > : > doesn't want to work. For example when I try build /bin/cp I ge= t the : > : > following: : > : > : > : > shell::wilx:~/freebsd/src/bin/cp> make : > : > "/usr/home/users/wilx/freebsd/src/bin/cp/../Makefile.inc", line= 9: : > : > Malformed conditional (${MK_DYNAMICROOT} =3D=3D "no") : > : > "/usr/share/mk/bsd.init.mk", line 15: if-less endif : > : > make: fatal errors encountered -- cannot continue : > : > : > : > Is there any sort of tutorial/prescription anywhere how to use = /usr/src : > : > tree that does not reside in /usr/src? : > : = : > : Hmmm, that should work. I regularly build as a non-root user, at= : > : `/home/build/src'. : > : = : > : The error about ``Malformed conditional'' seems a bit odd too. A= re you : > : using /usr/bin/make? What version of FreeBSD is the build host r= unning, : > : and what version of the source tree have you checked out? : > = : > The problem is that MK_DYNAMICROOT is defined by bsd.own.mk. This : > likely means that he's not building the same version of FreeBSD as = the : > system is running, otherwise the system's bsd.own.mk file would cop= e. : > = : > Warner : That was the problem as I stated in email from two days ago. I guess = nobody = : noticed the second email :) I noticed after I replied. That should teach me to read the whole thread before replying :-) Warner