Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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 :-)

In reply to Re: Installing modules on Win32 by gaggio
in thread Installing modules on Win32 by SuperCruncher

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-03-29 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found