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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e05cb173 was e05cb173, checked in by Tushar Teredesai <tushar@…>, 21 years ago

Make xfree86 build stop on encountering an error

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

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect2>
2<title>Command explanations</title>
3
4<para><command>( make WORLDOPTS="" World 2&gt;&amp;1 | tee xfree-compile.log
5 &amp;&amp; exit $PIPESTATUS )</command>:
6This command runs multiple makefiles to completely rebuild the system.
7<envar>WORLDOPTS</envar>="" disables the default setting to continue after
8encountering an error. <parameter>2&gt;&amp;1</parameter> redirects error messages
9to the same location as normal output. The <command>tee</command> command
10allows viewing of the output while logging the results to a file. The parentheses
11around 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>
13is returned as the result and not the result of the <command>tee</command> command.</para>
14
15<note><para>When rebuilding <application>XFree86</application>, a separate command that may be used if only minor
16changes are made to the sources is <command>make
17Everything</command>. This does not automatically remove generated
18files and only rebuilds those files or programs that are out
19of date.</para></note>
20
21<para><command>ln -sf /usr/X11R6/bin /usr/bin/X11</command>,
22<command>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</command>, and
23<command>ln -sf /usr/X11R6/include/X11 /usr/include/X11</command>: These
24commands are present to enable other (broken) packages to build
25against <application>XFree86</application>. We do this even though the Filesystem Hierarchy Standard
26says:
27"In general, software must not be installed or managed via the above
28symbolic links. They are intended for utilization by users only."</para>
29
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
32the kernel.</para>
33
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
36module(s) where the kernel can find them. You only need to copy the driver you
37need to support your video card.</para>
38
39<para><command>depmod -a</command>: Update the modules.dep file for module
40management.</para>
41
42</sect2>
43
Note: See TracBrowser for help on using the repository browser.