mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 23:47:18 +08:00
d10f793de0
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@828 af4574ff-66df-0310-9fd7-8a98e5e911e0
37 lines
1.7 KiB
XML
37 lines
1.7 KiB
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<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.
|
|
<userinput>2>&1</userinput> redirects error messages to the same location
|
|
as normal output. The <userinput>tee</userinput> command allows viewing of
|
|
the output while logging the results to a file.</para>
|
|
|
|
<note><para>When rebuilding XFree86, a separate command that may be used if only minor
|
|
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>
|
|
|
|
<para><userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>,
|
|
<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
|
|
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>
|
|
|