Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 22:51:33 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Paulo Fragoso <paulo@nlink.com.br>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: Are there a make problem?
Message-ID:  <20041124205133.GB14461@ip.net.ua>
In-Reply-To: <41A4DD11.7040407@nlink.com.br>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBpPRVqRfpzJluFF4RAlQEAJwJHbV+Dha/DUmM/WCBJEgNsjULoACdG9x8
X2kbPhTjndpQILkBoCXUO0U=
=eFUu
-----END PGP SIGNATURE-----
help

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