Ignore:
Timestamp:
Jan 21, 2009, 12:11:31 PM (15 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
946b71d
Parents:
60ec2de
Message:

Add sed command to make perl use system-installed zlib

File:
1 edited

Legend:

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

    r60ec2de rccd51bc  
    3232<screen os="s2"><userinput>sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
    3333    -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH</userinput></screen>
     34
     35    <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and
     36    links against its own internal copy of Zlib. The following command will
     37    tell it use the system-installed Zlib:</para>
     38
     39<screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/ s/True/False/' \
     40        -e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \
     41        ext/Compress/Raw/Zlib/config.in</userinput></screen>
    3442
    3543    <note os="a00">
Note: See TracChangeset for help on using the changeset viewer.