9 Copyright (c) 1995-2006 Paul Marquess. All rights reserved.
10 This program is free software; you can redistribute it
11 and/or modify it under the same terms as Perl itself.
19 DO NOT use in production code.
20 Please report any problems.
26 This module provides a Perl interface to the zlib compression library.
35 Before you can build Compress::Zlib you need to have the following
36 installed on your system:
39 * Perl 5.004 or better.
50 Assuming you have met all the prerequisites, the module can now be built
51 using this sequence of commands:
62 To install Compress::Zlib, run the command below:
74 Undefined Symbol gzsetparams
75 ----------------------------
77 If you get the error shown below when you run the Compress::Zlib test
78 harness it probably means you are running a copy of zlib that is
79 version 1.0.5 or older.
81 t/01version.........Can't load 'blib/arch/auto/Compress/Zlib/Zlib.so' for
82 module Compress::Raw::Zlib: blib/arch/auto/Compress/Raw/Zlib/Zlib.so:
83 undefined symbol: gzsetparams at ...
85 There are two ways to fix this problem:
87 1. Upgrade to the latest version of zlib.
89 2. Edit config.in and set the OLD_ZLIB variable to True.
93 Test Harness 01version fails
94 ----------------------------
95 If the 01version test harness fails, and the problem isn't covered by the
96 scenario above, it probably means that you have two versions of
97 zlib installed on your system.
99 Run the command below to see if this is indeed the case
101 make test TEST_VERBOSE=1 TEST_FILES=t/01version.t
103 Try removing the one you don't want to use and rebuild.
116 How to report a problem with Compress::Zlib.
118 To help me help you, I need all of the following information:
120 1. The Versions of everything relevant.
123 a. The *complete* output from running this
127 Do not edit the output in any way.
128 Note, I want you to run "perl -V" and NOT "perl -v".
130 If your perl does not understand the "-V" option it is too
131 old. This module needs Perl version 5.004 or better.
133 b. The version of Compress::Zlib you have.
134 If you have successfully installed Compress::Zlib, this one-liner
137 perl -MCompress::Zlib -e 'print qq[ver $Compress::Zlib::VERSION\n]'
139 If you areplete* output from running this
143 Do not edit the output in any way.
144 Note, I want you to run "perl -V" and NOT "perl -v".
146 If your perl does not understand the "-V" option it is too
147 old. This module needs Perl version 5.004 or better.
149 b. The version of Compress::Zlib you have.
150 If you have successfully installed Compress::Zlib, this one-liner
153 perl -MCompress::Zlib -e 'print qq[ver $Compress::Zlib::VERSION\n]'
155 If you are running windows use this
157 perl -MCompress::Zlib -e "print qq[ver $Compress::Zlib::VERSION\n]"
159 If you haven't installed Compress::Zlib then search Compress::Zlib.pm
160 for a line like this:
166 2. If you are having problems building Compress::Zlib, send me a
167 complete log of what happened. Start by unpacking the Compress::Zlib
168 module into a fresh directory and keep a log of all the steps
170 [edit config.in, if necessary]
173 make test TEST_VERBOSE=1
176 Paul Marquess <pmqs@cpan.org>