atom feed6 messages in org.freebsd.freebsd-securityjails
FromSent OnAttachments
gahnSep 8, 2008 9:46 pm 
Oliver PeterSep 9, 2008 8:36 am 
gahnSep 9, 2008 8:45 am 
Oliver PeterSep 9, 2008 8:54 am 
Jeremy ChadwickSep 9, 2008 9:46 am 
gahnSep 9, 2008 11:02 am 
Subject:jails
From:gahn (ipfr@yahoo.com)
Date:Sep 8, 2008 9:46:10 pm
List:org.freebsd.freebsd-security

hi all:

i tried to build jails and just could not get it work. it kept giving me errors.

for 6.3, i got following errors:

//////////////////////

cd /usr/src; make -f Makefile.inc1 hierarchy cd /usr/src/etc; make distrib-dirs mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p /home/j/mroot/ mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /home/j/mroot/var mtree -eU -f /usr/src/etc/mtree/BSD.usr.dist -p /home/j/mroot/usr mtree -eU -f /usr/src/etc/mtree/BSD.include.dist -p /home/j/mroot/usr/include mtree -deU -f /usr/src/etc/mtree/BIND.chroot.dist -p /home/j/mroot/var/named mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p /home/j/mroot/ cd /home/j/mroot/; rm -f /home/j/mroot/sys; ln -s usr/src/sys sys cd /home/j/mroot/usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /home/j/mroot/usr/share/man; set - `grep "^[a-zA-Z]"
/usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2"
"$1"; shift; shift; done cd /home/j/mroot/usr/share/openssl/man; set - `grep "^[a-zA-Z]"
/usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2"
"$1"; shift; shift; done cd /home/j/mroot/usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /home/j/mroot/usr/share/nls; set - `grep "^[a-zA-Z]"
/usr/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2"
"$1"; shift; shift; done

--------------------------------------------------------------

Installing everything

-------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> include (install) creating osreldate.h from newvers.sh touch: not found *** Error code 127

Stop in /usr/src/include. *** Error code 1

Stop in /usr/src. *** Error code 1

Stop in /usr/src. *** Error code 1

Stop in /usr/src. *** Error code 1

Stop in /usr/src.

////////////////////////////////

for 7.0 i got errors:

////////////////////////

Installing everything

-------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> lib (install) ===> lib/csu/i386-elf (install) gcc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common
-I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c crt1.c gcc:No such file or directory *** Error code 1

Stop in /usr/src/lib/csu/i386-elf. *** Error code 1

Stop in /usr/src/lib. *** Error code 1

Stop in /usr/src. *** Error code 1

Stop in /usr/src. *** Error code 1

Stop in /usr/src. *** Error code 1

///////////////////////////////

i followed the instructions of the "handbook"....

thanks