From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 19 04:51:08 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 209981065670 for ; Wed, 19 Mar 2008 04:51:08 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-out-05.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id 787448FC1A for ; Wed, 19 Mar 2008 04:51:07 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-05.forthnet.gr (8.13.8/8.13.8) with ESMTP id m2J4aqgx021683; Wed, 19 Mar 2008 06:36:52 +0200 Received: from MX-IN-02.forthnet.gr (mx-in-02.forthnet.gr [193.92.150.185]) by mx-av-03.forthnet.gr (8.14.1/8.14.1) with ESMTP id m2J4aq4f019419; Wed, 19 Mar 2008 06:36:52 +0200 Received: from kobe.laptop (adsl86-158.kln.forthnet.gr [77.49.53.158]) by MX-IN-02.forthnet.gr (8.14.2/8.14.2) with ESMTP id m2J4aoMi019334; Wed, 19 Mar 2008 06:36:51 +0200 Authentication-Results: MX-IN-02.forthnet.gr smtp.mail=keramida@ceid.upatras.gr; spf=neutral Authentication-Results: MX-IN-02.forthnet.gr header.from=keramida@ceid.upatras.gr; sender-id=neutral Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m2J4anHm006140; Wed, 19 Mar 2008 06:36:49 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m2J4alm4006139; Wed, 19 Mar 2008 06:36:47 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 19 Mar 2008 06:36:47 +0200 From: Giorgos Keramidas To: V??clav Haisman Message-ID: <20080319043647.GA6088@kobe.laptop> References: <47E02602.1050102@sh.cvut.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47E02602.1050102@sh.cvut.cz> Cc: "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: Wed, 19 Mar 2008 04:51:08 -0000 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 process > doesn't want to work. For example when I try build /bin/cp I get 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} == "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. Are you using /usr/bin/make? What version of FreeBSD is the build host running, and what version of the source tree have you checked out?