Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Comment on

( #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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (4)
    As of 2014-09-18 06:36 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (108 votes), past polls