make installworld DESTDIR=foo troubles

Peter Edwards petere at openet-telecom.com
Fri Dec 12 08:38:26 PST 2003


Marco Molteni wrote:

>Makoto Matsushita wrote [2003-12-12]:
>  
>
>>molter> what am I missing?
>>
>>It seems that you forget to set PATH environment variable.  As you
>>know, "env -i" does not pass any environment variable to child process
>>if any other variables are explicitly set.
>>    
>>
>
>Hi Makoto-san,
>
>if you look at my previous email:
>
>  
>
>>make installworld DESTDIR=$DESTDIR, or
>>env -i make installworld DESTDIR=$DESTDIR
>>    
>>
>
>I tried both with and without "env -i", the result is the same failure.
>
>Just to be sure:
>
>root at cobweb# which install
>/usr/bin/install
>
>root at cobweb# ls -l /usr/bin/install
>-r-xr-xr-x  1 root  wheel  11888 Nov 25 22:57 /usr/bin/install*
>
>I also reset the root shell to csh, and simulate a full login with "su -".
>
>No change
>
>Marco
>  
>
Try
env MAKEOBJDIRPREFIX=/usr/obj DESTDIR=$DESTDIR make installworld

I suggested this before for a different problem, and it wasn't a 
solution, but this is the exact error that I got around by setting 
MAKEOBJDIRPREFIX explicitly.




More information about the freebsd-hackers mailing list