in reply to Re: Re: Re: Parsing of the web log file, access_log
in thread Parsing of the web log file, access_log


I downloaded the perl module, Date::Calc from cpan.org. The tarball is Date-Calc-5.3.tar.gz. I am using Cygwin on my PC (It has Windows 2000). Cygwin also has the gcc C compiler with it.

As per the Install notes, I did 'perl Makefile.PL".

I got this result.
$ 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 contains: 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, I did "make" and I got:
$ make Makefile:814: *** missing separator. Stop.

Has anyone come across this problem? Shall appreciate help on this.
-Andy

Replies are listed 'Best First'.
Re: Problem with loading and compiling the Perl module, Date::Calc
by fglock (Vicar) on Jun 20, 2003 at 19:11 UTC
    Warning: prerequisite Bit::Vector failed to load: Can't locate Bit/Vector.pm in @INC

    You have to fix this problem before doing make. Download and install Bit::Vector first.


      I saw these details in the INSTALL.txt of the Date::Calc module.

      Prerequisites:

      --------------

      Perl version 5.000 or higher, and an ANSI C compiler. (!)
      ^^^^^^
      If you plan to use the modules "Date::Calendar" or "Date::Calendar::Year" from this package, you will also need the module "Bit::Vector" version 5.7 or newer (which also needs an ANSI C compiler!).

      Otherwise you may safely ignore the warning message "Warning: prerequisite Bit::Vector 5.7 not found at ..." when running "perl Makefile.PL".

      You can install "Bit::Vector" at any time later if you change your mind.

      I do not plan to use the Calender & Year modules
Re: Problem with loading and compiling the Perl module, Date::Calc
by fglock (Vicar) on Jun 20, 2003 at 21:21 UTC