http://qs1969.pair.com?node_id=670299

amir_e_a has asked for the wisdom of the Perl Monks concerning the following question:

I'm running on Fedora 8 with all patches. I'm trying to use the CPAN shell to install modules and nothing works.

I get this error when i try to install any module:

Undefined subroutine &Compress::Zlib::gzopen called at /usr/lib/perl5/ +5.8 .8/CPAN.pm line 5721.

CPAN shell used to work on this machine and i suspect that a recent perl update ruined it.

I believe that i do have Compress::Zlib installed, although it is installed as a Fedora package and might be screwed-up.

Running perl -e "use Compress::Zlib" gives this:

is only avaliable with the XS version at /usr/lib/perl5/vendor_perl/5 +.8.8/Compress/Zlib.pm line 9 BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ +Compress/Zlib.pm line 9. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.

(Notice one space in the beginning of the first line, as if some string is missing there.) o conf gzip in the CPAN shell has the expected value of /usr/bin/gzip

Any ideas?