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

Namaste Fellow Monks I wish to install Finance::Qupte module. As per a thread on this forum I have downloaded module, extracted it and downloaded nmake also. The rest of the thread is not very precise about how to go about installing the module in Windows XP. Would greatly appreciate some assistance. Best, wirefree

Replies are listed 'Best First'.
Re: Installing Module
by tachyon-II (Chaplain) on Dec 10, 2007 at 08:34 UTC
Re: Installing Module
by ikegami (Patriarch) on Dec 10, 2007 at 08:29 UTC
    Finance-Quote-1.12 is on ActiveState's ppm server for 5.8.8 (at least), so you can install it simply by running
    ppm install Finance-Quote

    When manually installing, the directions are in the INSTALL file of the distribution. The install procedure is usually

    perl Makefile.PL make make test make install

    (Or nmake in your case.)

Re: Installing Module
by narainhere (Monk) on Dec 10, 2007 at 09:03 UTC
    Hey wirefree welcome to the monastery!

    also welcome to WinXp/Perl a **deadly** combination
    Since you haven't mentioned the vendor name, I assume you have Active perl installed on you machine
    I seriously wish the method suggested be ikegami works for you, but Just in case (this is the case with most corporate environments) you are behind firewall,proxy,blah blah blah... you might be unsuccessful in installing the modules. The best approach is to download the modules either from CPAN or Active States Repository(it might take a while to load the complete package list), then follow these steps:

    First Step is to create a local repository, you can do this by the typing this in the command prompt
    ppm repo add C:\LocalRepo MyRepo
    Now this folder "C:\LocalRepo" acts as a repository by the name "MyRepo".Now download/extact the modules in this folder.Make sure to copy the .ppd file from internal folder c:\MyRepo\<module-name> to c:\MyRepo\ .Now you can install you module by typing
    ppm install Finance::Qupte
    at command prompt.Hope this solves you prob.

    The world is so big for any individual to conquer

      Do appreciate the ellaborate response. As suggested, I started the Perl Package Manager and it on its own downloaded Finance::Quote. Now...I have placed stockpick.pl in 'C:\Perl\eg'. When I execute the command "perl stockpick.pl nsdq goog", the following error is generated:
      C:\Perl\eg>perl stocktick.pl nsdq goog Can't locate HTML/TableExtract.pm in @INC (@INC contains: C:/Perl/site +/lib C:/Pe rl/lib .) at C:/Perl/site/lib/Finance/Quote.pm line 38. BEGIN failed--compilation aborted at C:/Perl/site/lib/Finance/Quote.pm + line 38. Compilation failed in require at stocktick.pl line 3. BEGIN failed--compilation aborted at stocktick.pl line 3.
      So I will attempt the method suggested by you. Where should the command "ppm repo add C:\LocalRepo MyRepo" be executed. When I execute it in C:\>, the following error is generated:
      C:\>ppm repo add C:\LocalRepo MyRepo ppm repo failed: The repository URL must be absolute or a local direct +ory
      Please advise. Await your response. Best, wirefree
        This error
        C:\>ppm repo add C:\LocalRepo MyRepo ppm repo failed: The repository URL must be absolute or a local direct +ory
        probably has to do with the different syntax for different versions(I use 5.8x) of ppm.Either of the following should work
        ppm repo add MyRepo C:\LocalRepo
        if not then
        ppm repo add C:\LocalRepo
        here you can access the repo with a numeric identifier listed by
        ppm repo
        The other error
        C:\Perl\eg>perl stocktick.pl nsdq goog Can't locate HTML/TableExtract.pm in @INC (@INC contains: C:/Perl/site +/lib C:/Pe rl/lib .) at C:/Perl/site/lib/Finance/Quote.pm line 38. BEGIN failed--compilation aborted at C:/Perl/site/lib/Finance/Quote.pm + line 38. Compilation failed in require at stocktick.pl line 3. BEGIN failed--compilation aborted at stocktick.pl line 3.
        It means the module HTML::TableExtract is missing and some script (it may even by any of the libraries you are using ) needs it.Install the module the same way you install Finance::Quote.

        The world is so big for any individual to conquer

      Hi, :-) I too have the same problem. I did exactly what u mention above. i created anew local repo and copied ppd file outside the package. this is the output.................. ppm> rep describe 1 Describing Active Repository 1: Name: Autonamed 1 Location: C:\LocalRepo Type: Local directory ppm> install Bundle-CPAN.ppd The system cannot find the path specified. Error: connect: Unknown error ******Please help me*******