jail manpage
r p
freebsd99 at gmail.com
Wed Feb 9 23:50:42 PST 2005
> On Wed, 9 Feb 2005 14:12:06 -0600, Josh Paetzel <josh at 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
More information about the freebsd-questions
mailing list