1 | <sect2>
|
---|
2 | <title>Command explanations</title>
|
---|
3 |
|
---|
4 | <para><command>WORLDOPTS="" make World 2>&1 | tee xfree-compile.log</command>:
|
---|
5 | This command runs multiple makefiles to completely rebuild the system.
|
---|
6 | <envar>WORLDOPTS</envar>="" disables the default setting to continue after encountering an error.
|
---|
7 | <parameter>2>&1</parameter> redirects error messages to the same location
|
---|
8 | as normal output. The <command>tee</command> command allows viewing of
|
---|
9 | the output while logging the results to a file.</para>
|
---|
10 |
|
---|
11 | <note><para>When rebuilding <application>XFree86</application>, a separate command that may be used if only minor
|
---|
12 | changes are made to the sources is <command>make
|
---|
13 | Everything</command>. This does not automatically remove generated
|
---|
14 | files and only rebuilds those files or programs that are out
|
---|
15 | of date.</para></note>
|
---|
16 |
|
---|
17 | <para><command>ln -sf /usr/X11R6/bin /usr/bin/X11</command>,
|
---|
18 | <command>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</command>, and
|
---|
19 | <command>ln -sf /usr/X11R6/include/X11 /usr/include/X11</command>: These
|
---|
20 | commands are present to enable other (broken) packages to build
|
---|
21 | against <application>XFree86</application>. We do this even though the Filesystem Hierarchy Standard
|
---|
22 | says:
|
---|
23 | "In general, software must not be installed or managed via the above
|
---|
24 | symbolic links. They are intended for utilization by users only."</para>
|
---|
25 |
|
---|
26 | <para><command>make CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</command>: This builds the
|
---|
27 | <application>XFree86</application> compatible kernel modules using the same compiler used to compile
|
---|
28 | the kernel.</para>
|
---|
29 |
|
---|
30 | <para><command>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
|
---|
31 | /lib/modules/`uname -r`/kernel/drivers/char/drm/</command>: Put the kernel
|
---|
32 | module(s) where the kernel can find them. You only need to copy the driver you
|
---|
33 | need to support your video card.</para>
|
---|
34 |
|
---|
35 | <para><command>depmod -a</command>: Update the modules.dep file for module
|
---|
36 | management.</para>
|
---|
37 |
|
---|
38 | </sect2>
|
---|
39 |
|
---|