Re: building X11
Matthieu Herrb <[email protected]>
| Newsgroups | gmane.os.openbsd.x11 |
|---|---|
| Organization | CNRS-LAAS |
| Message-ID | <[email protected]> |
Chuck Robey wrote:
> 2) I so surprised about slow compilation on the Zaurus! I know I
> shouldn't be, but having all those nice Intel speed boxes is spoiling!
> Anyhow, I got a complete X11 build to go off without a hitch ("build"
> target), but I didn't realize that it also did an install, so I didn't
> have the present X11R6 moved out of the way, so I'm going to do it
> again. I want to do it with X11 still active, so I figure to move
> ProjectRoot to /usr/X11R6.8.2, and when it's complete, make the current
> X11R6 into a link from X11R6.8.2. My question is because it's taking SO
> long to compile, I don;t want to waste time; can I move the ProjectRoot
> by changing it in xc/config/cf/site.def, then redoing a "make build" in
> /obj/XF4/xc ?? Or does it need more changes, or a more complete cleaning?
The official way is to create xc/config/host.def in your shadow tree
(/obj/XF4) and add your #define ProjectRoot there.
But I think this is useless. There are so many things that expect to
find X in /usr/X11R6 that running X with a different ProjectRoot
(especially when another X11 copy is installed in /usr/X11R6) is a
source of strange failures.
X only touches /etc/X11, /etc/fonts and /usr/X11R6. What I do is to
rename those 3 dirs when I want to switch bewteen different X builds
(differents versions, or the same version with different build options).
--
Matthieu Herrb