On 9/24/05, Bryce Harrington <bryce@...961...> wrote:
avp@...998...:~/soft/build/graphics/pdf2svg$ perl Makefile.PL Warning: prerequisite PDF::API2 0 not found.
This should not give you a warning if you have this module installed correctly. Try doing this:
$ perl -e "use PDF::API2"
If you have the module installed, this should return with no output. Otherwise, it will spew a big error message showing all the paths that it looked at for the module.
avp@...998...:~/soft/build/graphics/pdf2svg$ perl -e "use PDF::API2" Can't locate PDF/API2/Basic/PDF/File.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl/5.8/PDF/API2.pm line 49. BEGIN failed--compilation aborted at /usr/share/perl/5.8/PDF/API2.pm line 49. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
Hmmmm... The line is:
use PDF::API2::Basic::PDF::File;
Okay, I created new directory /usr/share/perl/5.8/PDF/API2/Basic/PDF/ and copied File.pm, Page.pm and Utils.pm there.
Now the error is in line 53:
use PDF::API2::Util;
I can't find any Text::PDF::Util module at CPAN
Alexandre