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 [EMAIL PROTECTED] FreeBSD committer
pgpBRHev1KEvf.pgp
Description: PGP signature
