9 Copyright (c) 1995-2007 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.
20 This module provides a Perl interface to the zlib compression library.
29 Before you can build Compress-Zlib you need to have the following
30 installed on your system:
33 * Perl 5.004 or better.
44 Assuming you have met all the prerequisites, the module can now be built
45 using this sequence of commands:
56 To install Compress-Zlib, run the command below:
68 Undefined Symbol gzsetparams
69 ----------------------------
71 If you get the error shown below when you run the Compress-Zlib test
72 harness it probably means you are running a copy of zlib that is
73 version 1.0.5 or older.
75 t/01version.........Can't load 'blib/arch/auto/Compress/Zlib/Zlib.so' for
76 module Compress::Raw::Zlib: blib/arch/auto/Compress/Raw/Zlib/Zlib.so:
77 undefined symbol: gzsetparams at ...
79 There are two ways to fix this problem:
81 1. Upgrade to the latest version of zlib.
83 2. Edit config.in and set the OLD_ZLIB variable to True.
87 Test Harness 01version fails
88 ----------------------------
89 If the 01version test harness fails, and the problem isn't covered by the
90 scenario above, it probably means that you have two versions of
91 zlib installed on your system.
93 Run the command below to see if this is indeed the case
95 make test TEST_VERBOSE=1 TEST_FILES=t/01version.t
97 Try removing the one you don't want to use and rebuild.
110 How to report a problem with Compress-Zlib.
112 To help me help you, I need all of the following information:
114 1. The Versions of everything relevant.
117 a. The *complete* output from running this
121 Do not edit the output in any way.
122 Note, I want you to run "perl -V" and NOT "perl -v".
124 If your perl does not understand the "-V" option it is too
125 old. This module needs Perl version 5.004 or better.
127 b. The version of Compress-Zlib you have.
128 If you have successfully installed Compress-Zlib, this one-liner
131 perl -MCompress::Zlib -e 'print qq[ver $Compress::Zlib::VERSION\n]'
133 If you are running windows use this
135 perl -MCompress::Zlib -e "print qq[ver $Compress::Zlib::VERSION\n]"
137 If you haven't installed Compress-Zlib then search Compress::Zlib.pm
138 for a line like this:
144 2. If you are having problems building Compress-Zlib, send me a
145 complete log of what happened. Start by unpacking the Compress-Zlib
146 module into a fresh directory and keep a log of all the steps
148 [edit config.in, if necessary]
151 make test TEST_VERBOSE=1
154 Paul Marquess <pmqs@cpan.org>