Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 22:40:12 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        marius@alchemy.franken.de
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: buildworld with ro /usr/src broken
Message-ID:  <20020227204012.GA99496@sunbay.com>
In-Reply-To: <20020227155244.A24137@newtrinity.default-network.net>
References:  <20020209130437.GA15287@myhakas.estpak.ee> <200202091743.g19HhIm00362@beerswilling.netscum.dyndns.dk> <20020227111914.GB30220@sunbay.com> <20020227155244.A24137@newtrinity.default-network.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 27, 2002 at 03:52:44PM +0100, marius@alchemy.franken.de wrote:
> On Wed, Feb 27, 2002 at 01:19:14PM +0200, Ruslan Ermilov wrote:
> > > 
> > MAKEOBJDIR[PREFIX] only work right if set as environment variables.
> > This is documented in make(1) manpage and in /usr/share/mk/bsd.obj.mk.
> > 
> > I have an uncommitted patch that makes it possible to set them on
> > make(1)'s command line but still no joy in attempting to set them
> > in /etc/make.conf.  I bear in mind adding a patch to Makefile.inc1
> > too that would prevent people from attempting to set MAKEOBJDIRPREFIX
> > in /etc/make.conf.
> > 
> 
> I don't want to doubt your expertise but
> `cd /usr/src && make MAKEOBJDIRPREFIX=/tmp/obj buildworld`
> works for ages for me, same for installworld. I'm not sure about
> 2.2.x and 3.x, but I at least did the updates between 4.0-stable
> and 4.5-stable that way on several machines without a problem. 
> 
Run the following commands in sequence to see what I'm talking about:

rm -rf /tmp/obj
cd /usr/src/bin/cat
make MAKEOBJDIRPREFIX=/tmp/obj obj
make MAKEOBJDIRPREFIX=/tmp/obj all
ls -l /tmp/usr/usr/src/bin/cat

Try setting MAKEOBJDIRPREFIX in environment then.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227204012.GA99496>