vonman has asked for the wisdom of the Perl Monks concerning the following question:

I have never installed a CPAN module onto my Activestate Perl and need some assistance. Here are the steps I am taking. What am I doing wrong?
1) Download all files for module and place them into directory under c +:\perl\site\lib\ 2) Run perl Makefile.pl 3) run pmake 4) run pmake test # on this step the system fails all of the tests say +ing that it cannot find XML::XPath # 5) run pmake install
Anyone know what I am doing wrong? ANy help is appreciated. Thanks in advance for your wisdom.!!

Replies are listed 'Best First'.
Re: Installing CPAN XML::XPath Module help needed
by jdtoronto (Prior) on Aug 29, 2003 at 17:42 UTC
      Well. I just managed to solve my problems. I am running V8. And when I checked the other link listed in the replies it said that the module had failed (XML::XPath) under both 5.6 and 5.8. I wound up using nmake instead of pmake and everything worked like a champ. Thanks for all of your help.
Re: Installing CPAN XML::XPath Module help needed
by CombatSquirrel (Hermit) on Aug 29, 2003 at 17:27 UTC
    On the command line (go to Start->Execute, enter "cmd", click the OK button):
    1.) Go to your perl/bin directory (e.g. enter 'cd\perl\bin [enter]' if the directory is C:\perl\bin 2.) Enter 'ppm[enter]' 3.) Enter 'search [module name or part of it][enter]' 4.) Enter 'install [number or numbers or number range of modules to in +stall from the list that appeared]' 5.) Enter 'exit' 6.) Enter 'exit'
    And you are done. Here, you are using the Perl Package Manager, which is distributed along with AS Perl, to locate and install precompiled Perl modules. If you do not find your module, have a look at http://ppm.activestate.com.
    Hope this helped.
    CombatSquirrel.
    Entropy is the tendency of everything going to hell.
      I already tried to do that through PPM. The module does not appear to be available through PPM that is why I am following the manula install process. Thanks again
Re: Installing CPAN XML::XPath Module help needed
by bear0053 (Hermit) on Aug 29, 2003 at 17:29 UTC
    go to the dos prompt and type 'ppm'. This will open the ppm> prompt for you. now simply type install XML::XPath and that will install the module you want onto your machine with the active state distribution Hope this helps