Date: Fri, 21 Mar 2008 21:25:09 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v.haisman@sh.cvut.cz> To: "M. Warner Losh" <imp@bsdimp.com> Cc: keramida@ceid.upatras.gr, hackers@FreeBSD.org Subject: Re: Building in /usr/src copied to $HOME Message-ID: <47E419A5.7060407@sh.cvut.cz> In-Reply-To: <20080321.103454.174086793.imp@bsdimp.com> References: <47E02602.1050102@sh.cvut.cz> <20080319043647.GA6088@kobe.laptop> <20080321.103454.174086793.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
M. Warner Losh wrote, On 21.3.2008 17:34:
> In message: <20080319043647.GA6088@kobe.laptop>
> Giorgos Keramidas <keramida@ceid.upatras.gr> writes:
> : On 2008-03-18 21:28, V??clav Haisman <v.haisman@sh.cvut.cz> 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?
>
> 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 cope.
>
> Warner
That was the problem as I stated in email from two days ago. I guess nobody
noticed the second email :)
--
VH
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH5Bm3oUFWwtEPkHIRCDWVAJ9/MxtdueE1EeGqGBuPfOv6ybKsJACfVESl
HSkffh6qSdmhkmKDrvKOk/g=
=FTjK
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E419A5.7060407>
