Changeset 49a9e0e9 for chapter06


Ignore:
Timestamp:
07/27/2014 11:18:50 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
658b611
Parents:
e2fbdae
Message:

Merge lfs svn.

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

Location:
chapter06
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter06/e2fsprogs.xml

    re2fbdae r49a9e0e9  
    4444  <sect2 role="installation">
    4545    <title>Installation of E2fsprogs</title>
    46 
    47     <para>First fix a problem with running regression tests in the LFS chroot
    48     environment:</para>
    49 
    50 <screen><userinput remap="pre">sed -i -e 's|^LD_LIBRARY_PATH.*|&amp;:/tools/lib|' tests/test_config</userinput></screen>
    5146
    5247    <para>The E2fsprogs documentation recommends that the package be built in
     
    122117<screen><userinput remap="make">make</userinput></screen>
    123118
    124     <para>To set up the test suite we need to temporarily copy
    125     a library from /tools/lib so the test programs can find it.
     119    <para>To set up and run the test suite we need to first link some
     120    libraries from /tools/lib to a location where the test programs look.
    126121    To run the tests, issue:</para>
    127122
    128 <screen><userinput remap="test">cp -v /tools/lib/libblkid.so.1 /lib
    129 make check
    130 rm -v /lib/libblkid.so.1</userinput></screen>
     123<screen><userinput remap="test">ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib
     124make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>
    131125
    132126    <para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory.
  • chapter06/perl.xml

    re2fbdae r49a9e0e9  
    4848<screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
    4949
    50     <para>This version of Perl now builds the Compress::Raw::Zlib module. By
    51     default Perl will use an internal copy of the Zlib source for the build.
    52     Issue the following command so that Perl will use the Zlib library
     50    <para>This version of Perl now builds the Compress::Raw::Zlib ane
     51    Compress::Raw::BZip2 modules. By
     52    default Perl will use an internal copy of the sources for the build.
     53    Issue the following command so that Perl will use the libraries
    5354    installed on the system:</para>
    5455
    55 <screen><userinput remap="pre">sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"           \
    56        -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
    57        -e "s|LIB\s*= ./zlib-src|LIB        = /usr/lib|"         \
    58     cpan/Compress-Raw-Zlib/config.in</userinput></screen>
     56<screen><userinput remap="pre">export BUILD_ZLIB=False
     57export BUILD_BZIP2=0</userinput></screen>
    5958
    6059    <para>To have full control over the way Perl is set up, you can remove the
     
    116115<screen><userinput remap="test">make -k test</userinput></screen>
    117116
    118     <para>Install the package:</para>
    119 
    120 <screen><userinput remap="install">make install</userinput></screen>
     117    <para>Install the package and clean up:</para>
     118
     119<screen><userinput remap="install">make install
     120unset BUILD_ZLIB BUILD_BZIP2</userinput></screen>
    121121
    122122  </sect2>
  • chapter06/tar.xml

    re2fbdae r49a9e0e9  
    4040  <sect2 role="installation">
    4141    <title>Installation of Tar</title>
    42 
     42<!--
    4343    <para>Add a program that generates a man page for tar from the source code:</para>
    4444 
    4545 <screen><userinput remap="pre">patch -Np1 -i ../&tar-manpage-patch;</userinput></screen>
    46 
     46-->
    4747    <para>Prepare Tar for compilation:</para>
    4848
     
    7777<screen><userinput remap="install">make install
    7878make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
    79 
     79<!--
    8080    <para>Finally, generate the man page and place it in the proper location:</para>
    8181
    8282<screen><userinput remap="install">perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
    83 
     83-->
    8484  </sect2>
    8585
Note: See TracChangeset for help on using the changeset viewer.