Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-19-2009, 06:52 PM   PM User | #1
ITSAMB
New to the CF scene

 
Join Date: Dec 2008
Location: NJ, USA
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
ITSAMB is an unknown quantity at this point
Help - Install XML-LibXML on windows

Hello experts,
I need your help in installing a Perl module. I am trying to install XML::LibXML on development server from couple of days now. I do not want to compile and install the module manually, as it needs some C components.
I would like to install the binary distribution of this module for windows.
I tried to install the binary module with PPM from following site
http://theoryx5.uwinnipeg.ca/ppmpackages/ and the command is
ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/XML-LibXML.ppd
It throws following error and quit
Installing package 'http://theoryx5.uwinnipeg.ca/ppmpackages/XML-LibXML.ppd'...
Error installing package 'http://theoryx5.uwinnipeg.ca/ppmpackages/XML-LibXML.pp
d': Read a PPD for 'http://theoryx5.uwinnipeg.ca/ppmpackages/XML-LibXML.ppd', but it is not intended for this build of Perl (MSWin32-x86-multi-5.8)

Then, I tried with packages from other sites as well.
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
But got the same error.
The Perl on which I am trying the installation is a customized version for a product with version "v5.8.2 built for MSWin32-x86-multi". I installed PPM on it with version 2.1.6.
I am not getting any clue here, how to go. Any help is appreciated.
OS=>Windows server 2003 SP2 Perl=>v5.8.2 built for MSWin32-x86-multi PPM=>2.1.6 >

Thanks,
Amit
ITSAMB is offline   Reply With Quote
Old 03-26-2009, 03:16 PM   PM User | #2
gdesmet
New to the CF scene

 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
gdesmet is an unknown quantity at this point
XML-LibXML has quite a few dependencies - anyone wanting to install the uwinnipeg ppm for perl-5.8 would be well advised to first add it to the list of repo's (unless it's already there):

ppm repo add http://theoryx5.uwinnipeg.ca/ppms/

Then it's just a matter of (where prompted, accept the defaults):
ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML.ppd
====================
Install 'XML-LibXML-Common' version 0.13 in ActivePerl 5.8.2.808.
====================
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.bs
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.dll
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.exp
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.lib
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.pdb
Installing C:\Perl\html\site\lib\XML\LibXML\Common.html
Files found in blib\arch: installing files in blib\lib into architecture dependent library tree
Installing C:\Perl\site\lib\XML\LibXML\Common.pm
setting user/pass into proxy_env...

The library libxml2.dll is needed to complete the installation,
and should be placed in a directory somewhere in your PATH
environment variable. I can fetch and install this for you,
if you don't already have it.

Fetch libxml2.dll? [yes]
Fetching http://theoryx5.uwinnipeg.ca/ppms/scripts/libxml2.dll ... done!
Where should libxml2.dll be placed? [c:\Perl\bin]
libxml2.dll has been successfully installed to c:/Perl/bin
Successfully installed XML-LibXML-Common version 0.13 in ActivePerl 5.8.2.808.
====================
Install 'XML-LibXML' version 1.64 in ActivePerl 5.8.2.808.
====================
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.bs
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.dll
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.exp
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.lib
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.pdb
Installing C:\Perl\html\site\lib\XML\LibXML.html
Installing C:\Perl\html\site\lib\XML\LibXML\Attr.html
Installing C:\Perl\html\site\lib\XML\LibXML\Boolean.html
Installing C:\Perl\html\site\lib\XML\LibXML\CDATASection.html
Installing C:\Perl\html\site\lib\XML\LibXML\Comment.html
Installing C:\Perl\html\site\lib\XML\LibXML\Document.html
Installing C:\Perl\html\site\lib\XML\LibXML\DocumentFragment.html
Installing C:\Perl\html\site\lib\XML\LibXML\DOM.html
Installing C:\Perl\html\site\lib\XML\LibXML\Dtd.html
Installing C:\Perl\html\site\lib\XML\LibXML\Element.html
Installing C:\Perl\html\site\lib\XML\LibXML\InputCallback.html
Installing C:\Perl\html\site\lib\XML\LibXML\Literal.html
Installing C:\Perl\html\site\lib\XML\LibXML\Namespace.html
Installing C:\Perl\html\site\lib\XML\LibXML\Node.html
Installing C:\Perl\html\site\lib\XML\LibXML\NodeList.html
Installing C:\Perl\html\site\lib\XML\LibXML\Number.html
Installing C:\Perl\html\site\lib\XML\LibXML\Parser.html
Installing C:\Perl\html\site\lib\XML\LibXML\PI.html
Installing C:\Perl\html\site\lib\XML\LibXML\Reader.html
Installing C:\Perl\html\site\lib\XML\LibXML\RelaxNG.html
Installing C:\Perl\html\site\lib\XML\LibXML\SAX.html
Installing C:\Perl\html\site\lib\XML\LibXML\Schema.html
Installing C:\Perl\html\site\lib\XML\LibXML\Text.html
Installing C:\Perl\html\site\lib\XML\LibXML\XPathContext.html
Installing C:\Perl\html\site\lib\XML\LibXML\SAX\Builder.html
Installing C:\Perl\html\site\lib\XML\LibXML\SAX\Generator.html
Files found in blib\arch: installing files in blib\lib into architecture dependent library tree
Installing C:\Perl\site\lib\XML\LibXML.pm
Installing C:\Perl\site\lib\XML\LibXML.pod
Installing C:\Perl\site\lib\XML\LibXML\Attr.pod
Installing C:\Perl\site\lib\XML\LibXML\Boolean.pm
Installing C:\Perl\site\lib\XML\LibXML\CDATASection.pod
Installing C:\Perl\site\lib\XML\LibXML\Comment.pod
Installing C:\Perl\site\lib\XML\LibXML\Document.pod
Installing C:\Perl\site\lib\XML\LibXML\DocumentFragment.pod
Installing C:\Perl\site\lib\XML\LibXML\DOM.pod
Installing C:\Perl\site\lib\XML\LibXML\Dtd.pod
Installing C:\Perl\site\lib\XML\LibXML\Element.pod
Installing C:\Perl\site\lib\XML\LibXML\InputCallback.pod
Installing C:\Perl\site\lib\XML\LibXML\Literal.pm
Installing C:\Perl\site\lib\XML\LibXML\Namespace.pod
Installing C:\Perl\site\lib\XML\LibXML\Node.pod
Installing C:\Perl\site\lib\XML\LibXML\NodeList.pm
Installing C:\Perl\site\lib\XML\LibXML\Number.pm
Installing C:\Perl\site\lib\XML\LibXML\Parser.pod
Installing C:\Perl\site\lib\XML\LibXML\PI.pod
Installing C:\Perl\site\lib\XML\LibXML\Reader.pm
Installing C:\Perl\site\lib\XML\LibXML\Reader.pod
Installing C:\Perl\site\lib\XML\LibXML\RelaxNG.pod
Installing C:\Perl\site\lib\XML\LibXML\SAX.pm
Installing C:\Perl\site\lib\XML\LibXML\SAX.pod
Installing C:\Perl\site\lib\XML\LibXML\Schema.pod
Installing C:\Perl\site\lib\XML\LibXML\Text.pod
Installing C:\Perl\site\lib\XML\LibXML\XPathContext.pm
Installing C:\Perl\site\lib\XML\LibXML\XPathContext.pod
Installing C:\Perl\site\lib\XML\LibXML\SAX\Builder.pm
Installing C:\Perl\site\lib\XML\LibXML\SAX\Builder.pod
Installing C:\Perl\site\lib\XML\LibXML\SAX\Generator.pm
Installing C:\Perl\site\lib\XML\LibXML\SAX\Parser.pm
setting user/pass into proxy_env...

Do you want to alter ParserDetails.ini? [yes]
c:\Perl\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
c:\Perl\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
Successfully installed XML-LibXML version 1.64 in ActivePerl 5.8.2.808.

Good luck,
Geert
gdesmet is offline   Reply With Quote
Reply

Bookmarks

Tags
libxml, perl

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:38 AM.


Advertisement
Log in to turn off these ads.