Changes to the Perl build in Chapter 6

Ken Moffat ken at
Tue Oct 7 07:01:52 PDT 2008

On Tue, Oct 07, 2008 at 07:52:33AM -0500, Randy McMurchy wrote:
> Hi all,
> Thanks to Greg Shafer who pointed out several things about our
> current Perl build method in Chapter 6, I'd like to propose the
> following changes:
> 1. Remove the sed for the "Fix an incompatibility with gcc-4.3.2:"
> I have confirmed it is not required.
> 2. Add the following before the configuration step:
>    sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"         \
>         -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
>         -e "s|LIB\s*= ./zlib-src|LIB        = /usr/lib|"         \
>      ext/Compress/Raw/Zlib/
> This will cause the Compress::Raw::Zlib module to link to the
> system-installed version of the zlib library instead of the
> internal copy in the Perl tree.
> Unless there are objections or other info about this, I'll make
> the changes.
> Oh yeah, thanks to Greg for the heads-up.
 Sounds good to me.  Thanks to you both for this - isn't it amazing
how local copies of zlib still crop up all over the place.

das eine Mal als Tragödie, das andere Mal als Farce

More information about the lfs-dev mailing list