Date: Wed, 19 Mar 2008 22:11:32 +0100 From: Max Laier <max@love2party.net> To: freebsd-hackers@freebsd.org Cc: Giorgos Keramidas <keramida@ceid.upatras.gr>, V??clav Haisman <v.haisman@sh.cvut.cz> Subject: Re: Building in /usr/src copied to $HOME Message-ID: <200803192211.32728.max@love2party.net> In-Reply-To: <20080319043647.GA6088@kobe.laptop> References: <47E02602.1050102@sh.cvut.cz> <20080319043647.GA6088@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 19 March 2008 05:36:47 Giorgos Keramidas wrote: > 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 Looks like a problem with /usr/share/mk being out of date (not sure this should be an issue, though). A simple fix should be to add "-m `pwd`/share/mk" to make ... or "-m `pwd`/../../share/mk" in your example above. The buildworld target seems to pick this automatically. > > 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? -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803192211.32728.max>