Are there a make problem?

Ruslan Ermilov ru at FreeBSD.org
Wed Nov 24 12:51:32 PST 2004


On Wed, Nov 24, 2004 at 04:12:17PM -0300, Paulo Fragoso wrote:
> Hi,
> 
> We are trying to create a jail with FreeBSD 5.3 but it's fails with this
> error:
> 
> cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c
> /usr/src/games/fortune/strfile/strfile.c
> make: don't know how to make /j/usr/lib/libc.a. Stop
> *** Error code 2
> 
> We was using:
> 
> export D=/j
> make world DESTDIR=$D
> 
> After an advice from Jason DiCioccio we can make a jail successful:
> 
> env DESTDIR=$D make world
> 
> We have a similar problem with BATCH=YES using ports, after 
> 5.2.1-RELEASE (not included) we are using:
> 
> export BATCH=yes && make install
> 
> instead BATCH=yes in main Makefile.
> 
> Are there any problem with make?
> 
make(1) was recently fixed to pass command-line variables to
sub-makes as command-line variables that were previously be
passed as environment type variables.  That affected some
makefiles.

For "make world DESTDIR=$D" to work again, you will need
src/Makefile.inc1,v 1.438.2.5 and src/Makefile,v 1.306.2.1.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041124/71c8e403/attachment.bin


More information about the freebsd-stable mailing list