On 9/6/06, Morgan Reed <morgan.s.reed@gmail.com> wrote:
I'm having some issues attempting to build a jail per the jail(8) man
page, following through the steps outlined there I've hit a few
issues.
Once I get to building the world. i.e. 'make world
DESTDIR=/usr/jailroot' I've fallen on some issues, all of which appear
to be related to paths;
First run 'install' threw an error 64 part way through because it
couldn't find one of the destination directories, solved by doing
'mkdir /usr/jailroot/usr ; mkdir /usr/jailroot/usr/include'.
Next run 'install' error code 64 again at a different stage, 'mkdir
/usr/jailroot/usr/libdata'
After these issues are bypassed I hit the following error;
mkdep -f .depend -a
-I/usr/obj/usr/src/world_i386/usr/src/gnu/usr.bin/cc34/cc
_tools/gengenrtl/..//../cc_prep
-I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/.
.//../cc_prep
-I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../cc_prep/conf
ig -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.
4/gcc -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc
-3.4/gcc/config
-I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../c
ontrib/gcc-3.4/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\"
-DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\" -DSTACK_PROTECTOR
-DHAVE_STDLIB_H -DHAVE_STRING_H -DGENERATOR_FILE -I.
/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/gcc/
gengenrtl.c
Stop in /usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl.
Stop in /usr/src/gnu/usr.bin/cc34/cc_tools.
Stop in /usr/src/gnu/lib/gcc34/libgcc.
Stop in /usr/src.
Stop in /usr/src.
Stop in /usr/src.
Stop in /usr/src.
Any assistance greatly appreciated
Morgan
Good timing, I had the same issues myself last night and went to bed
rather than track them down :) Presumably, I'm at the needing to
mkdir /usr/jails/devel/usr/include step that you failed on first.
rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/crypt.x -o crypt.h
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444
/usr/src/include/a.out.h /usr/src/include/ar.h
/usr/src/include/assert.h /usr/src/include/bitstring.h
/usr/src/include/complex.h /usr/src/include/cpio.h
/usr/src/include/ctype.h /usr/src/include/db.h
/usr/src/include/dirent.h /usr/src/include/disktab.h
/usr/src/include/dlfcn.h /usr/src/include/elf.h
/usr/src/include/elf-hints.h /usr/src/include/err.h
/usr/src/include/fnmatch.h /usr/src/include/fstab.h
/usr/src/include/fts.h /usr/src/include/getopt.h
/usr/src/include/glob.h /usr/src/include/grp.h
/usr/src/include/histedit.h /usr/src/include/iconv.h
/usr/src/include/ieeefp.h /usr/src/include/ifaddrs.h
/usr/src/include/iso646.h /usr/src/include/inttypes.h
/usr/src/include/langinfo.h /usr/src/include/libgen.h
/usr/src/include/limits.h /usr/src/include/link.h
/usr/src/include/locale.h /usr/src/include/malloc.h
/usr/src/include/math.h /usr/src/include/memory.h
/usr/src/include/mpool.h /usr/src/include/ndbm.h
/usr/src/include/netdb.h /usr/src/include/nl_types.h
/usr/src/include/nlist.h /usr/src/include/objformat.h
/usr/src/include/paths.h /usr/src/include/pthread.h
/usr/src/include/pthread_np.h /usr/src/include/pwd.h
/usr/src/include/ranlib.h /usr/src/include/readpassphrase.h
/usr/src/include/regex.h /usr/src/include/regexp.h
/usr/src/include/resolv.h /usr/src/include/re_comp.h
/usr/src/include/rmd160.h /usr/src/include/search.h
/usr/src/include/setjmp.h /usr/src/include/sgtty.h
/usr/src/include/signal.h /usr/src/include/stab.h
/usr/src/include/stdarg.h /usr/src/include/stdbool.h
/usr/src/include/stddef.h /usr/src/include/stdint.h
/usr/src/include/stdio.h /usr/src/include/stdlib.h
/usr/src/include/string.h /usr/src/include/stringlist.h
/usr/src/include/strings.h /usr/src/include/struct.h
/usr/src/include/sysexits.h /usr/src/include/tar.h
/usr/src/include/time.h /usr/src/include/timers.h
/usr/src/include/ttyent.h /usr/src/include/unistd.h
/usr/src/include/ulimit.h /usr/src/include/utime.h
/usr/src/include/utmp.h /usr/src/include/vis.h
/usr/src/include/wchar.h /usr/src/include/wctype.h osreldate.h
/usr/jails/devel/usr/include
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
Stop in /usr/src/include.
Stop in /usr/src/include.
Stop in /usr/src.
Stop in /usr/src.
Stop in /usr/src.
--Bill