- Timestamp:
- 12/16/2005 04:06:59 PM (19 years ago)
- Children:
- d663c90
- Parents:
- 48553c1
- Location:
- chapter06
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bash.xml
r48553c1 r6856842 35 35 sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ 36 36 Makefile.in</userinput></screen> 37 38 <para>The following patch fixes various issues, including a problem where Bash39 will sometimes only show 33 characters on a line, then wrap to the next:</para>40 41 <screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>42 43 <para>Bash also has issues when compiled against newer versions of Glibc. The44 following patch resolves this problem:</para>45 46 <screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>47 37 48 38 <para>Prepare Bash for compilation:</para> -
chapter06/file.xml
r48553c1 r6856842 37 37 38 38 <screen><userinput>make</userinput></screen> 39 40 <para>This package does not come with a test suite.</para> 39 41 40 42 <para>Install the package:</para> -
chapter06/glibc.xml
r48553c1 r6856842 47 47 Glibc autoconf tests would give false results and defeat the goal 48 48 of achieving a clean build.</para> 49 50 <para>The linuxthreads tarball contains the man pages for the51 threading libraries installed by Glibc. Unpack the tarball from52 within the Glibc source directory:</para>53 54 <screen><userinput>tar -xvf ../glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>55 49 56 50 <para>The Glibc documentation recommends building Glibc outside of the source … … 176 170 attempts to circumvent these restrictions are documented in 177 171 internationalization-related hints.</para> 178 179 <para>Build the linuxthreads man pages, which are a great reference180 on the threading API (applicable to NPTL as well):</para>181 182 <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen>183 184 <para>Install these pages:</para>185 186 <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen>187 172 188 173 </sect2> -
chapter06/groff.xml
r48553c1 r6856842 42 42 <screen><userinput>make</userinput></screen> 43 43 44 <para>This package does not come with a test suite.</para> 45 44 46 <para>Install the package:</para> 45 47 -
chapter06/gzip.xml
r48553c1 r6856842 50 50 <screen><userinput>make</userinput></screen> 51 51 52 <para>This package does not come with a test suite.</para> 53 52 54 <para>Install the package:</para> 53 55 -
chapter06/hotplug.xml
r48553c1 r6856842 32 32 <sect2 role="installation"> 33 33 <title>Installation of Hotplug</title> 34 35 <para>This package does not come with a test suite.</para> 34 36 35 37 <para>Install the Hotplug package:</para> -
chapter06/iana-etc.xml
r48553c1 r6856842 33 33 34 34 <screen><userinput>make</userinput></screen> 35 36 <para>This package does not come with a test suite.</para> 35 37 36 38 <para>Install the package:</para> -
chapter06/inetutils.xml
r48553c1 r6856842 88 88 89 89 <screen><userinput>make</userinput></screen> 90 91 <para>This package does not come with a test suite.</para> 90 92 91 93 <para>Install the package:</para> -
chapter06/iproute2.xml
r48553c1 r6856842 64 64 </variablelist> 65 65 66 <para>This package does not come with a test suite.</para> 67 66 68 <para>Install the package:</para> 67 69 -
chapter06/kbd.xml
r48553c1 r6856842 41 41 42 42 <screen><userinput>make</userinput></screen> 43 44 <para>This package does not come with a test suite.</para> 43 45 44 46 <para>Install the package:</para> -
chapter06/less.xml
r48553c1 r6856842 47 47 <screen><userinput>make</userinput></screen> 48 48 49 <para>This package does not come with a test suite.</para> 50 49 51 <para>Install the package:</para> 50 52 -
chapter06/man.xml
r48553c1 r6856842 62 62 63 63 <screen><userinput>make</userinput></screen> 64 65 <para>This package does not come with a test suite.</para> 64 66 65 67 <para>Install the package:</para> -
chapter06/mktemp.xml
r48553c1 r6856842 55 55 <screen><userinput>make</userinput></screen> 56 56 57 <para>This package does not come with a test suite.</para> 58 57 59 <para>Install the package:</para> 58 60 -
chapter06/module-init-tools.xml
r48553c1 r6856842 17 17 <segtitle>&buildtime;</segtitle> 18 18 <segtitle>&diskspace;</segtitle> 19 <seglistitem><seg>0. 1 SBU</seg><seg>4.9MB</seg></seglistitem>19 <seglistitem><seg>0.3 SBU</seg><seg>3.3 MB</seg></seglistitem> 20 20 </segmentedlist> 21 21 … … 30 30 <title>Installation of Module-Init-Tools</title> 31 31 32 <para>Module-Init-Tools attempts to rewrite its 33 <filename>modprobe.conf</filename> man page during the build process. This is 34 unnecessary and also relies on <command>docbook2man</command> — which is not 35 installed in LFS. Run the following command to avoid this:</para> 32 <para>Issue the following commands to perform the tests (note that the 33 <command>make distclean</command> command is required to clean up the source 34 tree, as the source gets recompiled as part of the testing process):</para> 36 35 37 <screen><userinput>touch modprobe.conf.5</userinput></screen> 38 39 <para>If you wish to run the test suite for Module-Init-Tools, you will need to 40 download the separate testsuite tarball. Issue the following commands to 41 perform the tests (note that the <command>make distclean</command> command is 42 required to clean up the source tree, as the source gets recompiled as part of 43 the testing process):</para> 44 45 <screen><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 && 46 ./configure && 36 <screen><userinput>./configure && 47 37 make check && 48 38 make distclean</userinput></screen> … … 50 40 <para>Prepare Module-Init-Tools for compilation:</para> 51 41 52 <screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen> 42 <screen><userinput>./configure --prefix="" --mandir=/usr/share/man \ 43 --enable-zlib</userinput></screen> 53 44 54 45 <para>The meaning of the configure options:</para> 55 46 56 47 <variablelist> 48 <varlistentry> 49 <term><parameter>--mandir=/usr/share/man</parameter></term> 50 <listitem><para>This ensures the man pages are installed in the correct 51 location.</para></listitem> 52 </varlistentry> 57 53 <varlistentry> 58 54 <term><parameter>--enable-zlib</parameter></term> … … 77 73 <segmentedlist> 78 74 <segtitle>Installed programs</segtitle> 79 <seglistitem><seg>depmod, insmod, 80 insmod.static, lsmod (link to insmod), modinfo, modprobe (link to 81 insmod), and rmmod (link to insmod)</seg></seglistitem> 75 <seglistitem><seg>depmod, generate-modprobe.conf, insmod, 76 insmod.static, lsmod, modinfo, modprobe, and rmmod</seg></seglistitem> 82 77 </segmentedlist> 83 78 … … 93 88 automatically load the required modules</para> 94 89 <indexterm zone="ch-system-module-init-tools depmod"><primary sortas="b-depmod">depmod</primary></indexterm> 90 </listitem> 91 </varlistentry> 92 93 <varlistentry id="generate-modprobe.conf"> 94 <term><command>generate-modprobe.conf</command></term> 95 <listitem> 96 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module setup</para> 97 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf"><primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary></indexterm> 95 98 </listitem> 96 99 </varlistentry> -
chapter06/procps.xml
r48553c1 r6856842 32 32 33 33 <screen><userinput>make</userinput></screen> 34 35 <para>This package does not come with a test suite.</para> 34 36 35 37 <para>Install the package:</para> -
chapter06/psmisc.xml
r48553c1 r6856842 50 50 51 51 <screen><userinput>make</userinput></screen> 52 53 <para>This package does not come with a test suite.</para> 52 54 53 55 <para>Install the package:</para> -
chapter06/readline.xml
r48553c1 r6856842 30 30 <title>Installation of Readline</title> 31 31 32 <para>The following patch includes a fix for a problem where Readline sometimes33 only shows 33 characters on a line and then wraps to the next line. It also34 includes other fixes recommended by the Readline author.</para>35 36 <screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>37 38 32 <para>Prepare Readline for compilation:</para> 39 33 … … 42 36 <para>Compile the package:</para> 43 37 44 <screen><userinput>make SHLIB_ XLDFLAGS=-lncurses</userinput></screen>38 <screen><userinput>make SHLIB_LIBS=-lncurses</userinput></screen> 45 39 46 40 <para>The meaning of the make option:</para> … … 48 42 <variablelist> 49 43 <varlistentry> 50 <term><parameter>SHLIB_ XLDFLAGS=-lncurses</parameter></term>44 <term><parameter>SHLIB_LIBS=-lncurses</parameter></term> 51 45 <listitem><para>This option forces Readline to link against the 52 46 <filename class="libraryfile">libncurses</filename> library.</para></listitem> 53 47 </varlistentry> 54 48 </variablelist> 49 50 <para>This package does not come with a test suite.</para> 55 51 56 52 <para>Install the package:</para> -
chapter06/sed.xml
r48553c1 r6856842 29 29 <title>Installation of Sed</title> 30 30 31 <para>By default, Sed installs its man pagein31 <para>By default, Sed installs its HTML documentation in 32 32 <filename class="directory">/usr/share/doc</filename>. Alter this to 33 33 <filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by -
chapter06/shadow.xml
r48553c1 r6856842 47 47 48 48 <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile 49 sed -i '/groups/d' man/Makefile</userinput></screen>49 find man -name Makefile -exec sed -i '/groups/d' {} \;</userinput></screen> 50 50 51 51 <para>Compile the package:</para> 52 52 53 53 <screen><userinput>make</userinput></screen> 54 55 <para>This package does not come with a test suite.</para> 54 56 55 57 <para>Install the package:</para> -
chapter06/sysklogd.xml
r48553c1 r6856842 37 37 38 38 <screen><userinput>make</userinput></screen> 39 40 <para>This package does not come with a test suite.</para> 39 41 40 42 <para>Install the package:</para> -
chapter06/sysvinit.xml
r48553c1 r6856842 47 47 <screen><userinput>make -C src</userinput></screen> 48 48 49 <para>This package does not come with a test suite.</para> 50 49 51 <para>Install the package:</para> 50 52
Note:
See TracChangeset
for help on using the changeset viewer.