On Fri, Sep 23, 2005 at 11:03:26PM +0400, Alexandre Prokoudine wrote:
On 9/23/05, Eric Wilhelm <scratchcomputing@...400...> wrote:
Compilation failed in require at /usr/local/share/inkscape/extensions/pdf2svg line 20.
Does pdf2svg have an installer? (e.g. Module::Build, Makefile.PL, etc.)
No, no installer
Here is an installer for you. Save this to Makefile.PL:
----------- use ExtUtils::MakeMaker;
my %opts = ( 'NAME' => 'pdf2svg', 'VERSION' => "1.00", 'EXE_FILES' => [ qw( scripts/pdf2svg ) ], 'PREREQ_PM' => { 'Math::Matrix' => 0, 'Getopt::Long' => 0, }, );
if ($ExtUtils::MakeMaker::VERSION >= 5.43) { $opts{AUTHOR} = 'Author S. Name <here@...997...>'; $opts{ABSTRACT} = 'Converts PDF files into SVG'; }
WriteMakefile( %opts ) -------------
Replace "1.00" with whatever the real version is, and set the author name to yourself or whomever wrote pdf2svg. Also, add all the perl modules you needed to install to that PREREQ_PM section.
Then, to check you did it right, do this:
$ perl -c Makefile.PL
When that says 'ok', then do this to test it:
$ perl Makefile.PL $ make
Bryce