Changeset ba99b734


Ignore:
Timestamp:
Aug 2, 2014, 5:50:25 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
ec2f02c
Parents:
078b277
Message:

Make Perl use system-installed bzip2 as well

Location:
BOOK
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • BOOK/appendices/dependencies/common.xml

    r078b277 rba99b734  
    15941594
    15951595        <seglistitem>
    1596          <seg>Bash, Binutils, Coreutils, Glibc, Gawk, GCC, Grep,
     1596         <seg>Bash, Binutils, Bzip2, Coreutils, Glibc, Gawk, GCC, Grep,
    15971597         Make, Sed</seg>
    15981598        </seglistitem>
  • BOOK/final-system/common/perl.xml

    r078b277 rba99b734  
    2626    <title>Installation of Perl</title>
    2727
    28     <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and
    29     links against its own internal copy of Zlib. The following command will
    30     tell it to use the system-installed Zlib:</para>
    31 
    32 <screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/s/True/False/' \
    33        -e '/^INCLUDE/s,\./zlib-src,/usr/include,' \
    34        -e '/^LIB/s,\./zlib-src,/usr/lib,' \
    35        cpan/Compress-Raw-Zlib/config.in</userinput></screen>
     28    <para os="s3">By default, Perl's Compress::Raw::Zlib and
     29    Compress::Raw::Bzip2 modules build and link against internal copies of
     30    Zlib and Bzip2. The following command will make Perl use the
     31    system-installed copies of these libraries:</para>
     32
     33<screen os="s4"><userinput>export BUILD_ZLIB=False
     34export BUILD_BZIP2=0</userinput></screen>
    3635
    3736    <note os="a00">
     
    106105<screen os="h2"><userinput remap="test">make test</userinput></screen>
    107106
    108     <para os="j">Install the package:</para>
    109 
    110 <screen os="k"><userinput>make install</userinput></screen>
     107    <para os="j">Install the package and remove the variables set previously:</para>
     108
     109<screen os="k"><userinput>make install
     110unset BUILD_ZLIB BUILD_BZIP2</userinput></screen>
    111111
    112112  </sect2>
  • BOOK/final-system/mips-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/mips64-64-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/mips64-chapter.xml

    r078b277 rba99b734  
    8080  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    8181  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     82  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     83  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-n32.xml"/>
     84  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    8285  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    8386  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-n32.xml"/>
     
    9396  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    9497  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    95   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    96   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-n32.xml"/>
    97   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    9898  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    9999  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
  • BOOK/final-system/ppc-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/ppc64-64-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/ppc64-chapter.xml

    r078b277 rba99b734  
    6363  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    6464  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     65  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     66  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    6567  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    6668  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-64bit.xml"/>
     
    7375  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    7476  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    75   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    76   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    7777  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    7878  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
  • BOOK/final-system/sparc-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/sparc64-64-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/sparc64-chapter.xml

    r078b277 rba99b734  
    6363  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    6464  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     65  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     66  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    6567  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    6668  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-64bit.xml"/>
     
    7375  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    7476  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    75   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    76   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    7777  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    7878  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
  • BOOK/final-system/x86-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/x86_64-64-chapter.xml

    r078b277 rba99b734  
    4545  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4849  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    5253  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    54   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5656  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/x86_64-chapter.xml

    r078b277 rba99b734  
    6363  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    6464  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     65  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     66  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    6567  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    6668  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-64bit.xml"/>
     
    7375  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    7476  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    75   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    76   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    7777  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    7878  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
  • BOOK/introduction/common/changelog.xml

    r078b277 rba99b734  
    4747          system, so that Ncurses will install .pc files.</para>
    4848        </listitem>
     49        <listitem>
     50          <para>[Chris] - Move Bzip2 before Perl and modify Perl instructions
     51          to use system-install Bzip2. Solution borrowed from LFS.</para>
     52        </listitem>
    4953      </itemizedlist>
    5054    </listitem>
Note: See TracChangeset for help on using the changeset viewer.