Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Installing modules on Win32

by gaggio (Friar)
on Jul 17, 2000 at 05:47 UTC ( #22811=note: print w/replies, xml ) Need Help??

in reply to Installing modules on Win32

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):

PPM> search xml

Here's what ppm found on CPAN:
Packages available from 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\
Installing C:\Perl\site\lib\XML\
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 :-)

Replies are listed 'Best First'.
RE: (Guildenstern: PPM != CPAN) Re: Installing modules on Win32
by Guildenstern (Deacon) on Aug 28, 2000 at 22:55 UTC
    I realize I'm coming into this discussion a little late, but I thought I'd note something about ActiveState's PPM service. It does NOT search CPAN and it is by no means complete with regards to what's available there. I've entered searches for modules that I've seen on CPAN and didn't want to have to go through the hassle of building, to no avail. If I type "search Win32" using PPM, I get four packages - API, DDE, Sound, and TieRegistry. That's it. Typing in Win32 at CPAN results (today - 28 Aug 00) in 88 modules. Quite a discrepancy.
    FWIW, I'm using ActiveState's Perl 5.6 with 1 patch, so I don't know if the repositories are different for other 5.x versions. All I know is what I've seen.

    Negaterd character class uber alles!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://22811]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2021-10-16 00:47 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (69 votes). Check out past polls.