Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 15:50:41 +0800
From:      r p <freebsd99@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: jail manpage
Message-ID:  <eae9dad8050209235041a8c353@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> On Wed, 9 Feb 2005 14:12:06 -0600, Josh Paetzel <josh@tcbug.org>
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



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