Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 13:48:54 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: cross-compiling
Message-ID:  <20040308214854.GA8758@xor.obsecurity.org>
In-Reply-To: <20040308120347.GB11946@mindorf.org>
References:  <20040308120347.GB11946@mindorf.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 08, 2004 at 01:03:47PM +0100, Soeren Mindorf wrote:

> I change to 5.2/src and start the build:
>=20
> make -DNO_KERBEROS TARGET_ARCH=3D"sparc64" buildworld

That is correct.

> But I read that I should use ARCH=3D"sparc64".

Where did you read this?

> On every install I become the following error:

> =3D=3D=3D> 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.

Kris

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFATOpGWry0BWjoQKURArufAKDPGbXEQ1CVF+ckQgDQ4LnslALVsACg5Xwh
VVlOPziypZ2hLZ4raV9lhIs=
=6j5G
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040308214854.GA8758>