From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 07:50:42 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83DD616A4CE for ; Thu, 10 Feb 2005 07:50:42 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id F031243D45 for ; Thu, 10 Feb 2005 07:50:41 +0000 (GMT) (envelope-from freebsd99@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so1239481wri for ; Wed, 09 Feb 2005 23:50:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=bZRrnwnpj5thR2SI84RRcoYPXDBMtyMAIB5mBhYVGW7lopDXduHN9nzwknA2gpSXt/C1zg2hnVtzCokErEw6+W54f04Y0bdJpFVwyDUwEGqyze+bAzxmdT6CwmoTOCQGgQfhYjC7K3FONF+U2FmEtkJ2NfAZAKvVEDMPvXHo3RA= Received: by 10.54.49.37 with SMTP id w37mr232323wrw; Wed, 09 Feb 2005 23:50:41 -0800 (PST) Received: by 10.54.2.60 with HTTP; Wed, 9 Feb 2005 23:50:41 -0800 (PST) Message-ID: Date: Thu, 10 Feb 2005 15:50:41 +0800 From: r p To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: jail manpage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: r p List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2005 07:50:42 -0000 > On Wed, 9 Feb 2005 14:12:06 -0600, Josh Paetzel wrote: > > I've been trying get jails working on my 5.3-RELEASE-p2 machine. > > I've tried following the instructions in man 8 jail > > > > D=/here/is/the/jail > > cd /usr/src > > mkdir -p $D > > make world DESTDIR=$D > > cd etc > > make distribution DESTDIR=$D > > mount_devfs devfs $D/dev > > cd $D > > ln -sf dev/null kernel > > > > It dies at make world DESTDIR=$D with the following error: > > > > cc -0 -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 /jail/test/usr/lib/libc.a. Stop > > ***Error code 2 > > Stopping /usr/src Hi, I had the same problem. Googling showd me to use the line "env DESTDIR=$D make world" instead of "make world DESTDIR=$D". After I did this it all worked fine. Regards, Richard