Unable to build world someplace not /usr/obj
Herbert J. Skuhra
herbert at gojira.at
Fri Dec 15 07:52:11 UTC 2017
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
More information about the freebsd-hackers
mailing list