tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Building xsrc natively
Bruno Melo <bmelo%protonmail.com@localhost> writes:
> random kernel panics during and some slowness). What's the way to
> build xsrc natively, I'm not talking about cross-building it. I'm
> talking about building the whole xsrc natively for my kernel.
"for my kernel" does not make sense in this context.
NetBSD's build system is inherently cross, but it is normal and typical
to build for the machine you are running on. See build.sh in the
sources and nearby help file. To build xsrc also, simply pass -x.
> I wanna do this because building every single graphical package just
> because I run modular-xorg is exhausting. Also, is it possible to
> select which components from xsrc I can build so I can have a minimal
> xorg only with things I'm gonna use in my laptop?
You could probably do a lot of work to minimize it, but what is built is
not large by today's norms. du reports 284275 on a NetBSD 10 system
and a hair less on NetBSD 11. It is reasonably typical to use the base
X for most things and just use a server built from pkgsrc.
My advice is don't prematurely optimize and steer for the simplest
successful path. Also, when posting about what happened, precisely
describe what happens. You say crashes on boot, but then not crashing
with a different server. booting the kernel to single user, to
multiuser, and starting an X server are separate steps. It's important
to understand which step fails, and how it fails - hang, reboot to BIOS,
panic, messages printed out, etc.
Home |
Main Index |
Thread Index |
Old Index