in reply to Problems with PDF::API2 and Compress:Zlib on redhat e4

Compress::Raw::Zlib is a prerequisite for Compress::Zlib, not a replacement. As is stated in the README for Compress::Zlib.

Also, the error messages you got while compiling Compress::Zlib might be helpful. Please include them in your post.

  • Comment on Re: Problems with PDF::API2 and Compress:Zlib on redhat e4

Replies are listed 'Best First'.
Re^2: Problems with PDF::API2 and Compress:Zlib on redhat e4
by skelooth (Novice) on Aug 08, 2007 at 19:38 UTC
    Apologies, I don't have the errors anymore. When I try doing install Compress::Zlib it says it's up to date, and if I force install all tests (aside from ones it skips) are successful. I'm really confused as to why I get Can't locate Compress/Zlib.pm in @INC after installing it with CPAN.

    I don't know how to remove modules installed with CPAN, otherwise I would reinstall them for the error messages.
        Well, I did something pretty stupid. In my foolish attempt to 'uninstall' a cpan module I rm'd auto/Compress...

        I'm getting these

        root@linuxbox Compress-Zlib-2.005# perl Makefile.PL Up/Downgrade not needed. Warning: prerequisite IO::Compress::Base 2.005 not found. Warning: prerequisite IO::Compress::Base::Common 2.005 not found. Warning: prerequisite IO::Compress::Gzip 2.005 not found. Warning: prerequisite IO::Compress::Gzip::Constants 2.005 not found. Warning: prerequisite IO::Uncompress::Base 2.005 not found. Warning: prerequisite IO::Uncompress::Gunzip 2.005 not found. Writing Makefile for Compress::Zlib Can't locate auto/Compress/Zlib/autosplit.ix in @INC


        Is there a faster way to fix this, or did I just screw myself? Thank you for all the help so far.
        Sorry if this is a double post, but my post doesn't seem to be coming through. Obviously it's not my day :)
        Well, I did something pretty stupid. In my foolish attempt to 'uninstall' a cpan module I rm'd auto/Compress...

        I'm getting these

        root@linuxbox Compress-Zlib-2.005# perl Makefile.PL Up/Downgrade not needed. Warning: prerequisite IO::Compress::Base 2.005 not found. Warning: prerequisite IO::Compress::Base::Common 2.005 not found. Warning: prerequisite IO::Compress::Gzip 2.005 not found. Warning: prerequisite IO::Compress::Gzip::Constants 2.005 not found. Warning: prerequisite IO::Uncompress::Base 2.005 not found. Warning: prerequisite IO::Uncompress::Gunzip 2.005 not found. Writing Makefile for Compress::Zlib Can't locate auto/Compress/Zlib/autosplit.ix in @INC


        Is there a faster way to fix this, or did I just screw myself? Thank you for all the help so far.