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

Hi Monks, Trying to load PDF::CreateSimple on a Unix system and i get the following error.

perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
lib/PDF/CreateSimple.pm
Please inform the author.
Warning: prerequisite Error 0.15 not found.
Could not open 'lib/PDF/CreateSimple.pm': No such file or directory at /usr/lib/perl5/5.8.5/ExtUtils/MM_Unix.pm line 3090.

Does anybody know how to solve it ?

This is the first module I've evere tried to load, so please spell out any solution.

Thanks.

Replies are listed 'Best First'.
Re: Problem loading PDF::CreateSimple
by marto (Cardinal) on Feb 18, 2009 at 13:13 UTC
      Oh yes ! that helps. I hadn't realised Error was a module, just thought it was part of an error (lowercase) message. Thanks I'll give that a go.
Re: Problem loading PDF::CreateSimple
by ph0enix (Friar) on Feb 19, 2009 at 14:43 UTC

    Two steps are required

    1. Install module Error (at least version 0.15)

    2. Reorganize files after unpacking from archive. File CreateSimple.pm should be moved to subdirectory lib/PDF.

      Original archive structure is

      PDF/ PDF/CreateSimple/ PDF/CreateSimple/README PDF/CreateSimple/Makefile.PL PDF/CreateSimple/MANIFEST PDF/CreateSimple/Changes PDF/CreateSimple/CreateSimple.pm~ PDF/CreateSimple/CreateSimple.pm

      so change working directory to PDF/CreateSimple/, create lib/PDF subdirectory and move CreateSimple.pm into it.

    After completing these steps you should be able to install module using commands:

    perl Makefile.PL make && make install

    You do not need to bother with make test because there are no tests defined for this module.

      Thanks everybody. The module is working fine. Now I just need to work out how to use it.