2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2003-03-03 06:18:58 +08:00
|
|
|
<para><userinput>WORLDOPTS="" make World 2>&1 | tee xfree-compile.log</userinput>:
|
|
|
|
This command runs multiple makefiles to completely rebuild the system.
|
|
|
|
WORLDOPTS="" disables the default setting to continue after encountering an error.
|
2002-07-08 04:28:42 +08:00
|
|
|
<userinput>2>&1</userinput> redirects error messages to the same location
|
2002-09-15 05:47:22 +08:00
|
|
|
as normal output. The <userinput>tee</userinput> command allows viewing of
|
|
|
|
the output while logging the results to a file.</para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2003-03-08 13:51:34 +08:00
|
|
|
<note><para>When rebuilding XFree86, a separate command that may be used if only minor
|
2002-09-15 05:47:22 +08:00
|
|
|
changes are made to the sources is <userinput>make
|
|
|
|
Everything</userinput>. This does not automatically remove generated
|
|
|
|
files and only rebuilds those files or programs that are out
|
|
|
|
of date.</para></note>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2002-09-15 05:47:22 +08:00
|
|
|
<para><userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>,
|
2002-07-08 04:28:42 +08:00
|
|
|
<userinput>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</userinput>, and
|
|
|
|
<userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput>:
|
|
|
|
These commands are present to enable other (broken) packages to build
|
|
|
|
against XFree86. We do this even though the Filesystem Hierarchy Standard
|
|
|
|
says:
|
|
|
|
"In general, software must not be installed or managed via the above
|
2003-03-08 13:51:34 +08:00
|
|
|
symbolic links. They are intended for utilization by users only."</para>
|
|
|
|
|
|
|
|
<para><userinput>make -f Makefile.linux</userinput>: This builds the
|
|
|
|
XFree86 compatible kernel modules.</para>
|
|
|
|
|
|
|
|
<para><userinput>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
|
|
|
|
/lib/modules/`uname -r`/kernel/drivers/char/drm/</userinput>: Put the kernel
|
|
|
|
modules where the kernel can find them.</para>
|
|
|
|
|
|
|
|
<para><userinput>depmod -a</userinput>: Update the modules.dep file for module
|
|
|
|
management.</para>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|