Changeset 6856842 for chapter06


Ignore:
Timestamp:
12/16/2005 04:06:59 PM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
d663c90
Parents:
48553c1
Message:

Bring alphabetical branch up-to-speed with trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7219 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r48553c1 r6856842  
    3535sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
    3636    Makefile.in</userinput></screen>
    37 
    38 <para>The following patch fixes various issues, including a problem where Bash
    39 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.  The
    44 following patch resolves this problem:</para>
    45 
    46 <screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>
    4737
    4838<para>Prepare Bash for compilation:</para>
  • chapter06/file.xml

    r48553c1 r6856842  
    3737
    3838<screen><userinput>make</userinput></screen>
     39
     40<para>This package does not come with a test suite.</para>
    3941
    4042<para>Install the package:</para>
  • chapter06/glibc.xml

    r48553c1 r6856842  
    4747Glibc autoconf tests would give false results and defeat the goal
    4848of achieving a clean build.</para>
    49 
    50 <para>The linuxthreads tarball contains the man pages for the
    51 threading libraries installed by Glibc.  Unpack the tarball from
    52 within the Glibc source directory:</para>
    53 
    54 <screen><userinput>tar -xvf ../glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>
    5549
    5650<para>The Glibc documentation recommends building Glibc outside of the source
     
    176170attempts to circumvent these restrictions are documented in
    177171internationalization-related hints.</para>
    178 
    179 <para>Build the linuxthreads man pages, which are a great reference
    180 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>
    187172
    188173</sect2>
  • chapter06/groff.xml

    r48553c1 r6856842  
    4242<screen><userinput>make</userinput></screen>
    4343
     44<para>This package does not come with a test suite.</para>
     45
    4446<para>Install the package:</para>
    4547
  • chapter06/gzip.xml

    r48553c1 r6856842  
    5050<screen><userinput>make</userinput></screen>
    5151
     52<para>This package does not come with a test suite.</para>
     53
    5254<para>Install the package:</para>
    5355
  • chapter06/hotplug.xml

    r48553c1 r6856842  
    3232<sect2 role="installation">
    3333<title>Installation of Hotplug</title>
     34
     35<para>This package does not come with a test suite.</para>
    3436
    3537<para>Install the Hotplug package:</para>
  • chapter06/iana-etc.xml

    r48553c1 r6856842  
    3333
    3434<screen><userinput>make</userinput></screen>
     35
     36<para>This package does not come with a test suite.</para>
    3537
    3638<para>Install the package:</para>
  • chapter06/inetutils.xml

    r48553c1 r6856842  
    8888
    8989<screen><userinput>make</userinput></screen>
     90
     91<para>This package does not come with a test suite.</para>
    9092
    9193<para>Install the package:</para>
  • chapter06/iproute2.xml

    r48553c1 r6856842  
    6464    </variablelist>
    6565
     66    <para>This package does not come with a test suite.</para>
     67
    6668    <para>Install the package:</para>
    6769
  • chapter06/kbd.xml

    r48553c1 r6856842  
    4141
    4242<screen><userinput>make</userinput></screen>
     43
     44<para>This package does not come with a test suite.</para>
    4345
    4446<para>Install the package:</para>
  • chapter06/less.xml

    r48553c1 r6856842  
    4747<screen><userinput>make</userinput></screen>
    4848
     49<para>This package does not come with a test suite.</para>
     50
    4951<para>Install the package:</para>
    5052
  • chapter06/man.xml

    r48553c1 r6856842  
    6262
    6363<screen><userinput>make</userinput></screen>
     64
     65<para>This package does not come with a test suite.</para>
    6466
    6567<para>Install the package:</para>
  • chapter06/mktemp.xml

    r48553c1 r6856842  
    5555<screen><userinput>make</userinput></screen>
    5656
     57<para>This package does not come with a test suite.</para>
     58
    5759<para>Install the package:</para>
    5860
  • chapter06/module-init-tools.xml

    r48553c1 r6856842  
    1717<segtitle>&buildtime;</segtitle>
    1818<segtitle>&diskspace;</segtitle>
    19 <seglistitem><seg>0.1 SBU</seg><seg>4.9 MB</seg></seglistitem>
     19<seglistitem><seg>0.3 SBU</seg><seg>3.3 MB</seg></seglistitem>
    2020</segmentedlist>
    2121
     
    3030<title>Installation of Module-Init-Tools</title>
    3131
    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> &mdash; 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
     34tree, as the source gets recompiled as part of the testing process):</para>
    3635
    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 &amp;&amp;
    46 ./configure &amp;&amp;
     36<screen><userinput>./configure &amp;&amp;
    4737make check &amp;&amp;
    4838make distclean</userinput></screen>
     
    5040<para>Prepare Module-Init-Tools for compilation:</para>
    5141
    52 <screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen>
     42<screen><userinput>./configure --prefix="" --mandir=/usr/share/man \
     43  --enable-zlib</userinput></screen>
    5344
    5445<para>The meaning of the configure options:</para>
    5546
    5647<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
     51location.</para></listitem>
     52</varlistentry>
    5753<varlistentry>
    5854<term><parameter>--enable-zlib</parameter></term>
     
    7773<segmentedlist>
    7874<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,
     76insmod.static, lsmod, modinfo, modprobe, and rmmod</seg></seglistitem>
    8277</segmentedlist>
    8378
     
    9388automatically load the required modules</para>
    9489<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>
    9598</listitem>
    9699</varlistentry>
  • chapter06/procps.xml

    r48553c1 r6856842  
    3232
    3333<screen><userinput>make</userinput></screen>
     34
     35<para>This package does not come with a test suite.</para>
    3436
    3537<para>Install the package:</para>
  • chapter06/psmisc.xml

    r48553c1 r6856842  
    5050
    5151<screen><userinput>make</userinput></screen>
     52
     53<para>This package does not come with a test suite.</para>
    5254
    5355<para>Install the package:</para>
  • chapter06/readline.xml

    r48553c1 r6856842  
    3030<title>Installation of Readline</title>
    3131
    32 <para>The following patch includes a fix for a problem where Readline sometimes
    33 only shows 33 characters on a line and then wraps to the next line. It also
    34 includes other fixes recommended by the Readline author.</para>
    35 
    36 <screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
    37 
    3832<para>Prepare Readline for compilation:</para>
    3933
     
    4236<para>Compile the package:</para>
    4337
    44 <screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
     38<screen><userinput>make SHLIB_LIBS=-lncurses</userinput></screen>
    4539
    4640<para>The meaning of the make option:</para>
     
    4842<variablelist>
    4943<varlistentry>
    50 <term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term>
     44<term><parameter>SHLIB_LIBS=-lncurses</parameter></term>
    5145<listitem><para>This option forces Readline to link against the
    5246<filename class="libraryfile">libncurses</filename> library.</para></listitem>
    5347</varlistentry>
    5448</variablelist>
     49
     50<para>This package does not come with a test suite.</para>
    5551
    5652<para>Install the package:</para>
  • chapter06/sed.xml

    r48553c1 r6856842  
    2929<title>Installation of Sed</title>
    3030
    31 <para>By default, Sed installs its man page in
     31<para>By default, Sed installs its HTML documentation in
    3232<filename class="directory">/usr/share/doc</filename>.  Alter this to
    3333<filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
  • chapter06/shadow.xml

    r48553c1 r6856842  
    4747
    4848<screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
    49 sed -i '/groups/d' man/Makefile</userinput></screen>
     49find man -name Makefile -exec sed -i '/groups/d' {} \;</userinput></screen>
    5050
    5151<para>Compile the package:</para>
    5252
    5353<screen><userinput>make</userinput></screen>
     54
     55<para>This package does not come with a test suite.</para>
    5456
    5557<para>Install the package:</para>
  • chapter06/sysklogd.xml

    r48553c1 r6856842  
    3737
    3838<screen><userinput>make</userinput></screen>
     39
     40<para>This package does not come with a test suite.</para>
    3941
    4042<para>Install the package:</para>
  • chapter06/sysvinit.xml

    r48553c1 r6856842  
    4747<screen><userinput>make -C src</userinput></screen>
    4848
     49<para>This package does not come with a test suite.</para>
     50
    4951<para>Install the package:</para>
    5052
Note: See TracChangeset for help on using the changeset viewer.