Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

troubles installing Compress::Zlib

by hesco (Deacon)
on Aug 15, 2008 at 17:09 UTC ( [id://704586]=perlquestion: print w/replies, xml ) Need Help??

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

I'm migrating a working script to a new server

When I run the script, I see the following errors:

:~/lib$ time perl pttpc-rpt.pl is only avaliable with the XS version at /usr/local/share/perl/5.8.8/ +Compress/Zlib.pm line 9 BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Compr +ess/Zlib.pm line 9. Compilation failed in require at /usr/local/share/perl/5.8.8/Archive/Z +ip.pm line 11. BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Archi +ve/Zip.pm line 11. Compilation failed in require at /usr/local/supporters.campaignfoundat +ions.com//Reports/Treasurer.pm line 7. BEGIN failed--compilation aborted at /usr/local/supporters.campaignfou +ndations.com//Reports/Treasurer.pm line 7. Compilation failed in require at pttpc-rpt.pl line 10. BEGIN failed--compilation aborted at pttpc-rpt.pl line 10. real 0m0.134s user 0m0.130s sys 0m0.000s
However from a cpan prompt, I see:

cpan> install Compress::Zlib Compress::Zlib is up to date. + + cpan> install Archive::Zip Archive::Zip is up to date.
although, I did have to force the installation of Compress::Zlib. How might I resolve this issue, please?

-- Hugh

if( $lal && $lol ) { $life++; }

Replies are listed 'Best First'.
Re: troubles installing Compress::Zlib
by syphilis (Archbishop) on Aug 15, 2008 at 18:53 UTC
Re: troubles installing Compress::Zlib
by gaal (Parson) on Aug 16, 2008 at 16:05 UTC
    Are you on CentOS or RedHat? See "Can't happen" bugs. Downgrading Compress::Zlib to 1.4x can help.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://704586]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-16 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found