Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 08:52:07 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        Lee Brown <leeb@ratnaling.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Unable to build world someplace not /usr/obj
Message-ID:  <20171215075207.GA21190@mail.bsd4all.net>
In-Reply-To: <CAFPNf584ttg5YC030f1aOu3PwxTX_aTuxEh42-a=v9YuzJBszQ@mail.gmail.com>
References:  <CAFPNf584ttg5YC030f1aOu3PwxTX_aTuxEh42-a=v9YuzJBszQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 14, 2017 at 11:02:27PM -0800, Lee Brown wrote:
> I have been trying to buildworld with the following, but it always faults
> on contrib/tcsh/sh.c (not related)
> 
> make -C /scratch/11.1-releng/src MAKEOBJDIRPREFIX=/scratch/11.1-releng/obj
> buildworld
> 
> If I just remove the variable, it works fine, except the files don't go
> where I want of course.
> 
> make -C /scratch/11.1-releng/src buildworld
> 
> The build machine is 11.1-RELEASE (r321309) and the source is the same
> version.
> 
> Can anybody clue me into what I'm doing wrong?  I'm sure I used to do this
> no problem.  There are no packages installed, just a vanilla system.

% man make.conf

     Note, that MAKEOBJDIRPREFIX and MAKEOBJDIR are environment variables and
     should not be set in make.conf or as command line arguments to make(1),
     but in make's environment.

-- 
Herbert



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