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