Changeset 9cc06db for BOOK/final-system


Ignore:
Timestamp:
Aug 1, 2014, 10:50:53 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
c9f9769
Parents:
147a241
git-author:
Chris Staub <chris@…> (08/01/14 22:50:25)
git-committer:
Chris Staub <chris@…> (08/01/14 22:50:53)
Message:

Make Perl use system-installed bzip2 as well

Location:
BOOK/final-system
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/perl.xml

    r147a241 r9cc06db  
    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

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/mips64-64-chapter.xml

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/mips64-chapter.xml

    r147a241 r9cc06db  
    7171  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     73  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     74  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-n32.xml"/>
     75  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    7376  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    7477  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-n32.xml"/>
     
    8487  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    8588  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    86   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    87   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-n32.xml"/>
    88   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    8989  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    9090  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
  • BOOK/final-system/ppc-chapter.xml

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/ppc64-64-chapter.xml

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/ppc64-chapter.xml

    r147a241 r9cc06db  
    5757  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    5858  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     59  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     60  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    5961  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    6062  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-64bit.xml"/>
     
    6769  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    6870  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    69   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    70   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    7171  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
  • BOOK/final-system/sparc-chapter.xml

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/sparc64-64-chapter.xml

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/sparc64-chapter.xml

    r147a241 r9cc06db  
    5757  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    5858  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     59  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     60  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    5961  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    6062  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-64bit.xml"/>
     
    6769  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    6870  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    69   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    70   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    7171  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
  • BOOK/final-system/x86-chapter.xml

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/x86_64-64-chapter.xml

    r147a241 r9cc06db  
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/libtool.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/iproute2.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gdbm.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/perl.xml"/>
     
    4950  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bzip2.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/diffutils.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
  • BOOK/final-system/x86_64-chapter.xml

    r147a241 r9cc06db  
    5757  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/libtool-64bit.xml"/>
    5858  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/iproute2.xml"/>
     59  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
     60  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    5961  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm.xml"/>
    6062  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gdbm-64bit.xml"/>
     
    6769  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    6870  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    69   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    70   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
    7171  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/diffutils.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/file.xml"/>
Note: See TracChangeset for help on using the changeset viewer.