use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'XML::LibXSLT',
'VERSION_FROM' => 'LibXSLT.pm', # finds $VERSION
'AUTHOR' => 'Matt Sergeant',
'ABSTRACT' => 'Interface to Gnome libxslt library',
'PREREQ_PM' => { 'XML::LibXML' => "1.58", },
'LIBS' => ['-lxslt -lxml2 -lz -lm'],
'OBJECT' => '$(O_FILES)',
);
Even if you get some warnings when running that Makefile.PL, follow it up by running 'make' and see what happens. If it doesn't work you can always start over again by first running 'make clean'. As I recall, I had problems installing libxml/libxslt as well. I've had a look through my notes, and while I cannot find specifics related to libxslt, I solved the libxml problem by installing XML::LibXML::Common first, as described here.
If I'm not mistaken, I believe you will also want to insure that the directories containing the libs are in your PATH environment variable.
HTH,
perlmonks.org content © perlmonks.org and planetscape, rhall30, syphilis
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03