Installing XML :: LibXML Perl Module for ActiveState Perl Version 5.6.1 build 629

How to install XML :: LibXML Perl module from ActiveState Perl 5.6.1 build 629 page?

Here's what I've tried:

D:\Users\abc>ppm install XML::LibXML
Installing package 'XML-LibXML'...
Error installing package 'XML-LibXML': Could not locate a PPD file for package XML-LibXML

      

Otherwise:

D:\Users\abc\Downloads\XML-LibXML-2.0014\XML-LibXML-2.0014>perl Makefile.PL
Couldn't find your C compiler
Compilation failed in require at Makefile.PL line 83.
BEGIN failed--compilation aborted at Makefile.PL line 83.

      

+3


source to share


2 answers


I have installed CPAN version of PPM on my machine; Downloaded the source PPM-2.1.8.tar.gz

, extracted the files, made it cd

in the unpacked directory and ran

perl Makefile.PL 
nmake 
nmake install

      

But nmake

it was not installed on my computer, so I installed it. After that, I can install XML-LibXML from uwinnipeg 5.6 repository by issuing the command



ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/XML-LibXML.ppd

      

It also installed the required ppm packages as well as the required library libxml2.dll

in the PATH environment variable.

+2


source


Your ppm package manager may not be able to find the correct package for your version of perl.

You can try to find and install as one. Perhaps one of them works for you.



ppm install http://www.bribes.org/perl/ppm/XML-LibXML.ppd    
ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/XML-LibXML.ppd
ppm install http://trouchelle.com/ppm/XML-LibXML.ppd
ppm install http://ppm.tcool.org/archives/XML-LibXML.ppd
ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML.ppd

      

How to add a new repo too ppm: http://www.bribes.org/perl/ppmdir.html

+3


source







All Articles