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 are excuting those command in /usr/src: export D=/j make world DESTDIR=$D Are there any problem with FreeBSD 5.3? We have ever created some jails enviroments this way, before FreeBSD 5.3. Thanks, Paulo.
Try this way: cd /usr/src make buildworld make installworld DESTDIR=<path to jail home> cd etc make distribution DESTDIR=<.....> Now you sould have everything, including /etc in jail home dir. cheers, On Wed, 24 Nov 2004 12:13:09 -0300, Paulo Fragoso <paulo@nlink.com.br> 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 are excuting those command in /usr/src: > > export D=/j > make world DESTDIR=$D > > Are there any problem with FreeBSD 5.3? We have ever created some jails > enviroments this way, before FreeBSD 5.3. > > Thanks, > Paulo.-- Claudiu Dragalina-Paraipan e-mail: dr.clau@gmail.com
Jason DiCioccio wrote, On 24/11/2004 12:11:> Greetings > > --On Wednesday, November 24, 2004 12:13:09 -0300 Paulo Fragoso > <paulo@nlink.com.br> 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 are excuting those command in /usr/src: >> >> export D=/j >> make world DESTDIR=$D >> > > try: > > env DESTDIR=$D make world > > It's a weird bug(?) that I believe is being worked on.It's working now, thanks. (off topic) 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, sounds like a make problem. Paulo.> > Regards, > -JD-
Greetings --On Wednesday, November 24, 2004 12:13:09 -0300 Paulo Fragoso <paulo@nlink.com.br> 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 are excuting those command in /usr/src: > > export D=/j > make world DESTDIR=$D >try: env DESTDIR=$D make world It's a weird bug(?) that I believe is being worked on. Regards, -JD-