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