in reply to Problem Installing Poppler Module

In the Makefile.PL I see:
XS => { 'Poppler.xs' => 'Poppler.c', 'Goo.xs' => 'Goo.c', },
which would indicate that there should be a file called Goo.xs that shipped with the Poppler-0.03 source ... but there's no such file mentioned in the MANIFEST.
Does the source distro contain such a file ? If not try removing 'Goo.xs' => 'Goo.c', from the Makefile.PL, and also change 'OBJECT' => 'Poppler$(OBJ_EXT) Goo$(OBJ_EXT)' , to 'OBJECT' => 'Poppler$(OBJ_EXT)',.
Then remove the Makefile that got written, and start over again with perl Makefile.PL etc.
If Goo.xs is not needed, that might work. In any case submit a bug report to the author.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Problem Installing Poppler Module
by flbiggs (Novice) on Nov 12, 2010 at 15:00 UTC
    Rob, Thanks for the advice. I tried the modification suggested. It allowed the module to be made and installed, but when I use it to load a pdf file, it throws an error. So, I think there is some defect in how the wrapper is linking to the underlying library. I now see from CPAN testing reports that testers had the same problem. I emailed the author asking if he would suggest a correction ... I don't have nearly the skills needed to tinker with XS. Hopefully he will address because I think that module would be very useful. Thanks again!
      FYI -- The author of this module just posted revised code on module's github repository. I installed the revised module and basic tests were successful.