Date: Mon, 17 May 2004 20:53:33 +0200 From: Soeren Mindorf <soeren@mindorf.org> To: freebsd-questions@freebsd.org Subject: Re: cross-compiling Message-ID: <20040517185333.GE3225@mindorf.org> In-Reply-To: <20040308214854.GA8758@xor.obsecurity.org> References: <20040308120347.GB11946@mindorf.org> <20040308214854.GA8758@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kris, Thanks for the answer. Sorry, I was busy the last mounths. * Kris Kennaway schrieb am 08 Mar 2004: >On Mon, Mar 08, 2004 at 01:03:47PM +0100, Soeren Mindorf wrote: > >> I change to 5.2/src and start the build: >> >> make -DNO_KERBEROS TARGET_ARCH="sparc64" buildworld > >That is correct. Fine. ;) > >> But I read that I should use ARCH="sparc64". > >Where did you read this? Somewhere, but I lost the Link. > >> On every install I become the following error: > >> ===> include >> creating osreldate.h from newvers.sh >> touch: not found >> *** Error code 127 > >This error is not specific to cross-building, but it means that >'installworld' couldn't find the OBJDIR that your world was built >into. By default this is a subdirectory of /usr/obj: you'll need to >mount this on the target as well, and specify its location with >MAKEOBJDIRPREFIX. > >I think this is all documented in a handbook chapter on installing >world on another machine via nfs. Ok, that I have read but it doesent work. :( Here is my Directory un the Buildmachine: /usr/5.2/src /usr/5.2/ports /usr/5.2/sup cd /usr/5.2/src make TARGET_ARCH="sparc64" buildworld The build finished without any errors. On the target-Machine (ULTRA5 sparc64): mount_nfs buildmachine:/usr/5.2/ /usr/5.2 mount_nfs buildmachine:/usr/obj /usr/obj ln -s /usr/5.2/src /usr/src cd /usr/src make MAKEOBJDIRPREFIX=/usr/obj/ installworld error: ----- cut ----- >>> Installing everything.. -------------------------------------------------------------- cd /usr/5.2/src; make -f Makefile.inc1 install ===> share/info ===> include creating osreldate.h from newvers.sh touch: not found *** Error code 127 ----- cut ----- or make MAKEOBJDIRPREFIX=/usr/obj/sparc64 installworld ----- cut ----- >>> Installing everything.. -------------------------------------------------------------- cd /usr/5.2/src; make -f Makefile.inc1 install ===> share/info ===> include install -C -o root -g wheel -m 444 /usr/5.2/src/include/a.out.h /usr/5.2/src/include/ar.h /usr/5.2/src/include/assert.h /usr/5.2/src/include/bitstring.h /usr/5.2/src/include/complex.h /usr/5.2/src/include/cpio.h /usr/5.2/src/include/ctype.h /usr/5.2/src/include/db.h /usr/5.2/src/include/dirent.h /usr/5.2/src/include/dlfcn.h /usr/5.2/src/include/elf.h /usr/5.2/src/include/elf-hints.h /usr/5.2/src/include/err.h /usr/5.2/src/include/fmtmsg.h /usr/5.2/src/include/fnmatch.h /usr/5.2/src/include/fstab.h /usr/5.2/src/include/fts.h /usr/5.2/src/include/getopt.h /usr/5.2/src/include/glob.h /usr/5.2/src/include/grp.h /usr/5.2/src/include/hesiod.h /usr/5.2/src/include/histedit.h /usr/5.2/src/include/ieeefp.h /usr/5.2/src/include/ifaddrs.h /usr/5.2/src/include/inttypes.h /usr/5.2/src/include/iso646.h /usr/5.2/src/include/kenv.h /usr/5.2/src/include/langinfo.h /usr/5.2/src/include/libgen.h /usr/5.2/src/include/limits.h /usr/5.2/src/include/link.h /usr/5.2/src/include/locale.h /usr/5.2/src/include/malloc.h /usr/5.2/src/include/memory.h /usr/5.2/src/include/monetary.h /usr/5.2/src/include/mpool.h /usr/5.2/src/include/ndbm.h /usr/5.2/src/include/netconfig.h /usr/5.2/src/include/netdb.h /usr/5.2/src/include/nl_types.h /usr/5.2/src/include/nlist.h /usr/5.2/src/include/nss.h /usr/5.2/src/include/nsswitch.h /usr/5.2/src/include/objformat.h /usr/5.2/src/include/paths.h /usr/5.2/src/include/pthread.h /usr/5.2/src/include/pthread_np.h /usr/5.2/src/include/pwd.h /usr/5.2/src/include/ranlib.h /usr/5.2/src/include/readpassphrase.h /usr/5.2/src/include/regex.h /usr/5.2/src/include/regexp.h /usr/5.2/src/include/resolv.h /usr/5.2/src/include/rune.h /usr/5.2/src/include/runetype.h /usr/5.2/src/include/search.h /usr/5.2/src/include/setjmp.h /usr/5.2/src/include/sgtty.h /usr/5.2/src/include/signal.h /usr/5.2/src/include/stab.h /usr/5.2/src/include/stdbool.h /usr/5.2/src/include/stddef.h /usr/5.2/src/include/stdio.h /usr/5.2/src/include/stdlib.h /usr/5.2/src/include/string.h /usr/5.2/src/include/stringlist.h /usr/5.2/src/include/strings.h /usr/5.2/src/include/sysexits.h /usr/5.2/src/include/tar.h /usr/5.2/src/include/time.h /usr/5.2/src/include/timeconv.h /usr/5.2/src/include/timers.h /usr/5.2/src/include/ttyent.h /usr/5.2/src/include/ulimit.h /usr/5.2/src/include/unistd.h /usr/5.2/src/include/utime.h /usr/5.2/src/include/utmp.h /usr/5.2/src/include/uuid.h /usr/5.2/src/include/varargs.h /usr/5.2/src/include/vis.h /usr/5.2/src/include/wchar.h /usr/5.2/src/include/wctype.h /usr/5.2/src/include/wordexp.h osreldate.h /usr/include install:No such file or directory *** Error code 1 Stop in /usr/5.2/src/include. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. ----- cut ----- Whats going wrong here or what did I not understand? Regards Soeren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040517185333.GE3225>