in reply to Errors while generating PDF report

Did you install Compress-Zlib?? It's listed as a prerequisite for PDF-API2.

Update: I wonder what versions of modules you have and/or how you installed the modules. PDF::API2::Content use's Compress::Zlib, so if Compress::Zlib wasn't installed, it should fail at the point of use. If it is installed, there should be a compress function available (you can look in the module yourself). Something strange is going on, so unless someone has some other helpful hint, you'll have to debug this yourself.

Replies are listed 'Best First'.
Compress::Zlib is upto date
by nargis (Initiate) on Apr 21, 2008 at 17:25 UTC
    Hi Monks,

    I installed Compress::Zlib before installing API2 package.
    Since API2 isn't working, i tried PDF::Create, PDF::Reuse packages as well, but all of them give some error from Content.pm.
    So I thought of generating Word document using Win32::Word::writer package (i cant generate text file cause my report will have images) but it won't install on linux machine.
    I am stuck. Please help.