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 eef5089b was b9ad2f9a, checked in by Larry Lawrence <larry@…>, 21 years ago |
proper, filename classes, Chap 27 & 28
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1272 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.9 KB
|
Rev | Line | |
---|
[f45b1953] | 1 | <sect2>
|
---|
| 2 | <title>Command explanations</title>
|
---|
| 3 |
|
---|
[b9ad2f9a] | 4 | <para><command>WORLDOPTS="" make World 2>&1 | tee xfree-compile.log</command>:
|
---|
[071a954] | 5 | This command runs multiple makefiles to completely rebuild the system.
|
---|
[b9ad2f9a] | 6 | <envar>WORLDOPTS</envar>="" disables the default setting to continue after encountering an error.
|
---|
| 7 | <parameter>2>&1</parameter> redirects error messages to the same location
|
---|
| 8 | as normal output. The <command>tee</command> command allows viewing of
|
---|
[19e9cee] | 9 | the output while logging the results to a file.</para>
|
---|
[f45b1953] | 10 |
|
---|
[b9ad2f9a] | 11 | <note><para>When rebuilding <application>XFree86</application>, a separate command that may be used if only minor
|
---|
| 12 | changes are made to the sources is <command>make
|
---|
| 13 | Everything</command>. This does not automatically remove generated
|
---|
[19e9cee] | 14 | files and only rebuilds those files or programs that are out
|
---|
| 15 | of date.</para></note>
|
---|
[f45b1953] | 16 |
|
---|
[b9ad2f9a] | 17 | <para><command>ln -sf /usr/X11R6/bin /usr/bin/X11</command>,
|
---|
| 18 | <command>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</command>, and
|
---|
| 19 | <command>ln -sf /usr/X11R6/include/X11 /usr/include/X11</command>: These
|
---|
[c49d8f0] | 20 | commands are present to enable other (broken) packages to build
|
---|
[b9ad2f9a] | 21 | against <application>XFree86</application>. We do this even though the Filesystem Hierarchy Standard
|
---|
[f45b1953] | 22 | says:
|
---|
| 23 | "In general, software must not be installed or managed via the above
|
---|
[3c989e81] | 24 | symbolic links. They are intended for utilization by users only."</para>
|
---|
| 25 |
|
---|
[b9ad2f9a] | 26 | <para><command>make CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</command>: This builds the
|
---|
| 27 | <application>XFree86</application> compatible kernel modules using the same compiler used to compile
|
---|
[be1cb17] | 28 | the kernel.</para>
|
---|
[3c989e81] | 29 |
|
---|
[b9ad2f9a] | 30 | <para><command>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
|
---|
| 31 | /lib/modules/`uname -r`/kernel/drivers/char/drm/</command>: Put the kernel
|
---|
[c49d8f0] | 32 | module(s) where the kernel can find them. You only need to copy the driver you
|
---|
| 33 | need to support your video card.</para>
|
---|
[3c989e81] | 34 |
|
---|
[b9ad2f9a] | 35 | <para><command>depmod -a</command>: Update the modules.dep file for module
|
---|
[3c989e81] | 36 | management.</para>
|
---|
| 37 |
|
---|
| 38 | </sect2>
|
---|
[f45b1953] | 39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.