Subject: Re: building x11
To: Steve Bellovin <smb@research.att.com>
From: Daniel Carosone <dan@geek.com.au>
List: current-users
Date: 02/07/2004 09:46:48
--O5XBE6gyVG5Rl6Rj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Feb 06, 2004 at 09:33:44AM -0500, Steve Bellovin wrote:
> I'm getting ready to install -current on a new machine, so I decided to=
=20
> build myself an install CD with all the pieces. What is the right way=20
> to build x11? I see there's a /usr/src/x11, but a 'build.sh distribution'
> didn't create any of the X .tgz files. (I'm not 100% certain about=20
> whether or not it was built.)
in mk.conf:
MKX11=3Dyes
X11SRCDIR=3D/path/to/xsrc
in /usr/src:
=2E/build.sh [usual options] release
and then you can use the iso-image target in etc/Makefile.
It works nicely, will work with cross-compiled releases (with perhaps
a couple of exceptions for esoteric targets?), takes appropriate
notice of things like CPUFLAGS (eg, -march=3Dpentium4), and even DTRT
for options like MKCATPAGES=3Dno, MKMANZ=3Dyes and MKPROFILE=3Dno (though
perhaps not yet all of the other similar options that affect
setlists).
I've been running several machines with X rebuilt this way, and rsync
--delete'd over /usr/X11R6. In fact, I have none left at home using
the old X.
I also gave someone else an iso-image to install from, built this way,
and they seemed happy - another new NetBSD user.
All in all, a massive and wonderful improvement. Thanks Luke and Tyler.
--
Dan.
--O5XBE6gyVG5Rl6Rj
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAJBlYEAVxvV4N66cRAjpKAJ44Sd8eKv4QLtYxQhAggDE9Vt6fugCg7e3E
89DBjq84BsEDaUCcguX/ftc=
=1RsN
-----END PGP SIGNATURE-----
--O5XBE6gyVG5Rl6Rj--