Changeset 9cc06db


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

Make Perl use system-installed bzip2 as well

Location:
BOOK
Files:
15 edited

Legend:

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

    r147a241 r9cc06db  
    14841484
    14851485        <seglistitem>
    1486          <seg>Bash, Binutils, Coreutils, Glibc, Gawk, GCC, Grep,
     1486         <seg>Bash, Binutils, Bzip2, Coreutils, Glibc, Gawk, GCC, Grep,
    14871487         Make, Sed</seg>
    14881488        </seglistitem>
  • 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"/>
  • BOOK/introduction/common/changelog.xml

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