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

Hi All,

How can I install the Date::Calc module?

I do not have unrestricted telnet access so I have to use the zipped version (Date-Calc-5.3). However according to the installation instructions, first change directory to the extracted directory then type in Perl makefile.pl, this works fine and I get the following output;
C:\Perl\Date-Calc-5.3>perl makefile.pl Checking if your kit is complete... Looks good Warning: prerequisite Bit::Vector failed to load: Can't locate Bit/Vec +tor.pm in @INC (@INC cont ains: C:/Perl/lib C:/Perl/site/lib .) at (eval 4) line 3. Writing Makefile for Date::Calc Writing patchlevel.h for C:\Perl\bin\perl.exe (5.006001).
Next, type in make or dmake,..etc. this where I get the following error ;
C:\Perl\Date-Calc-5.3>make The name specified is not recognized as an internal or external command, operable program or batch file.
Any Perls of wisdom highly appreciated.

Regards

Replies are listed 'Best First'.
Re: Installing Date::Calc Module
by hopes (Friar) on Oct 01, 2002 at 12:18 UTC
    Hi monk,
    If you use ActivePerl, you might find this node and this node interesting.
    If you don't, search in the Tutorials section of the monastery about installing modules.
    If you don't use activeperl, download nmake from M$ and follow the instructions.
    It seems that you don't have nmake (you can find the URL and how to use it in the tutorial)

    Hopes
    perl -le '$_=$,=q,\,@4O,,s,^$,$\,,s,s,^,b9,s,$_^=q,$\^-]!,,print'
Re: Installing Date::Calc Module
by RMGir (Prior) on Oct 01, 2002 at 12:24 UTC
    You'll probably have more luck installing the ppm version, since you seem to be using ActivePerl.

    I don't know if you have enough access for this, but try typing
    C:\> ppm
    PPM> install Date::Calc
    If you have enough net access for ppm to work, that will download and install Bit::Vector and Date::Calc for you.

    If you can't use ppm directly, check out this link for information on how to download the packages manually and install them.
    --
    Mike

Re: Installing Date::Calc Module
by kabel (Chaplain) on Oct 01, 2002 at 12:00 UTC
Re: Installing Date::Calc Module
by LTjake (Prior) on Oct 01, 2002 at 12:36 UTC
    Rather than make, try nmake. It's what i use. The FAQ also recommends it.