Changeset 78bf0c1


Ignore:
Timestamp:
07/27/2014 09:49:13 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
14accdf2
Parents:
b8da2a8
Message:

Instruct perl to use the system bzip2 library

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rb8da2a8 r78bf0c1  
    3939      <para>2014-07-27</para>
    4040      <itemizedlist>
     41        <listitem>
     42          <para>[bdubbs] - Instruct perl to use the system bzip2 library.</para>
     43        </listitem>
    4144        <listitem>
    4245          <para>[bdubbs] - Update to check-0.9.14. Fixes
  • chapter06/chapter06.xml

    rb8da2a8 r78bf0c1  
    5757
    5858  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inetutils.xml"/>
     59  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gzip.xml"/>
    5960  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl.xml"/>
    6061
     
    7677  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grub.xml"/>
    7778  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="less.xml"/>
    78   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gzip.xml"/>
    7979  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iproute2.xml"/>
    8080  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kbd.xml"/>
  • chapter06/perl.xml

    rb8da2a8 r78bf0c1  
    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>
Note: See TracChangeset for help on using the changeset viewer.