source: x/installing/xfree86/xfree86-exp.xml@ be1cb17

10.0 10.1 11.0 11.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since be1cb17 was be1cb17, checked in by Bruce Dubbs <bdubbs@…>, 19 years ago

Update XFree86 module install instructions and general layout

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1127 af4574ff-66df-0310-9fd7-8a98e5e911e0

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