2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2003-04-06 09:46:31 +08:00
|
|
|
<para><userinput>WORLDOPTS="" make World 2>&1 | tee xfree-compile.log</userinput> :
|
2003-03-03 06:18:58 +08:00
|
|
|
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
|
2003-10-02 13:21:41 +08:00
|
|
|
<userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput> : These
|
|
|
|
commands are present to enable other (broken) packages to build
|
2002-07-08 04:28:42 +08:00
|
|
|
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>
|
|
|
|
|
2003-09-20 15:07:33 +08:00
|
|
|
<para><userinput>make CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</userinput> : This builds the
|
|
|
|
XFree86 compatible kernel modules using the same compiler used to compile
|
|
|
|
the kernel.</para>
|
2003-03-08 13:51:34 +08:00
|
|
|
|
|
|
|
<para><userinput>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
|
2003-04-06 09:46:31 +08:00
|
|
|
/lib/modules/`uname -r`/kernel/drivers/char/drm/</userinput> : Put the kernel
|
2003-10-02 13:21:41 +08:00
|
|
|
module(s) where the kernel can find them. You only need to copy the driver you
|
|
|
|
need to support your video card.</para>
|
2003-03-08 13:51:34 +08:00
|
|
|
|
2003-04-06 09:46:31 +08:00
|
|
|
<para><userinput>depmod -a</userinput> : Update the modules.dep file for module
|
2003-03-08 13:51:34 +08:00
|
|
|
management.</para>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|