Two things.
First, do you actually have the right version of Perl installed? It seems that the module you are installing requires Perl 5.6 and not another one. Also, what distribution of Perl are you running? ActivePerl?
Second, ActiveState comes with a nice utility to install modules. I is called ppm (Perl Package Manager). With it you can search CPAN for modules and install them from there directly.
I have done that for you (since at some point I will probably need to use XML-Parser also):
C:\ppm
PPM> search xml
Here's what ppm found on CPAN:
Packages available from http://www.activestate.com/Packages/:
CGI-XMLForm, XML-DOM, XML-Element, XML-Parser
Ok, so let's install XML-Parser:
PPM> install XML-Parser
Install package 'XML-Parser?' (y/N): y
Retrieving package 'XML-Parser'...
Installing C:\Perl\site\lib\auto\XML\Parser\Expat\Expat.dll
Installing C:\Perl\site\lib\auto\XML\Parser\Expat\Expat.exp
Installing C:\Perl\site\lib\auto\XML\Parser\Expat\Expat.lib
Installing C:\Perl\html\lib\site\XML\Parser\Expat.html
Installing C:\Perl\html\lib\site\XML\Parser.html
Installing C:\Perl\htmlhelp\pkg-XML-Parser.chm
Installing C:\Perl\htmlhelp\pkg-XML-Parser.hhc
Installing C:\Perl\site\lib\XML\Parser\Encodings\Japanese_Encodings.msg
Installing C:\Perl\site\lib\XML\Parser\Encodings\README
Installing C:\Perl\site\lib\XML\Parser\Expat\expat.html
Installing C:\Perl\site\lib\XML\Parser\Expat\xmlparse\hashtable.c
Installing C:\Perl\site\lib\XML\Parser\Expat\xmlparse\hashtable.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmlparse\xmlparse.c
Installing C:\Perl\site\lib\XML\Parser\Expat\xmlparse\xmlparse.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\ascii.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\asciitab.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\iasciitab.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\latin1tab.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\nametab.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\utf8tab.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmldef.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmlrole.c
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmlrole.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmltok.c
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmltok.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmltok_impl.c
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmltok_impl.h
Installing C:\Perl\site\lib\XML\Parser\Expat\xmltok\xmltok_ns.c
Installing C:\Perl\site\lib\XML\Parser\Expat.pm
Installing C:\Perl\site\lib\XML\Parser.pm
Writing C:\Perl\site\lib/auto/XML-Parser/.packlist
So...
You can see that it was that easy: there was no compilation required since ppm fetches the precompiled binaries for you!
I am personnaly using Active Perl 5.005. I have not decided yet if I wanted to go with Perl 5.6 or not. Right now, I don't need it. I am also waiting a little since I have heard about lots of problems with ActivePerl 5.6. Maybe that the next version will be more stable?
Anyway, good luck :-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.