newbie question: prerequisites missing: going in circles.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I wanted to try out programmatically adding entries to Google
I found a perl module I wanted to try called: Net-Google-
I downloaded and attempted to build it...but,

I apparently am missing some modules.  When I tried to build the first
prerequisite module (DateTime), the module complained I was missing
more things.  But those "more things" are sub-components of the thing
I'm trying to get.
i.e., I'm trying to get DateTime, and "perl MakeFile.PL" complains I'm
  DateTime::Locale and DateTime::TimeZone
Won't I be getting those in the module itself?

Russ@hobbes /cygdrive/e/User Documents/Russ/downloads/Net-Google-
$ perl Build.PL
Checking whether your kit is complete...
Looks good

Checking prerequisites...
 - ERROR: DateTime is not installed
 - ERROR: Net::Google::AuthSub is not installed
 - ERROR: XML::Atom is not installed

of the modules indicated above before proceeding with this

So I appear to be going in circles.  Thanks.

Re: newbie question: prerequisites missing: going in circles.

Russ@hobbes /cygdrive/e/User Documents/Russ/downloads/DateTime-0.50
$ ls
CREDITS     DateTime.o   MANIFEST       Makefile     SIGNATURE
leap_seconds.h  pm_to_blib  tools
Changes     DateTime.xs  MANIFEST.SKIP  Makefile.PL  TODO
leaptab.txt     ppport.h
DateTime.c  LICENSE      META.yml       README       blib
lib             t

Russ@hobbes /cygdrive/e/User Documents/Russ/downloads/DateTime-0.50
$ perl Makefile.PL
Testing if you have a C compiler
Warning: prerequisite DateTime::Locale 0.41 not found.
Warning: prerequisite DateTime::TimeZone 0.59 not found.
Warning: prerequisite Params::Validate 0.76 not found.
Writing Makefile for DateTime

Re: newbie question: prerequisites missing: going in circles.

In article

Quoted text here. Click to load it

Not necessarily. The naming convention A::B for Perl modules doesn't
mean that B is a "sub-module" of A. B is a totally separate module. The
source for B will be found in .../A/, where '...' is one of the
Perl libraries on your search stack (see 'perldoc -V' for a list).

Sometimes module B will be part of the distribution of A. However, by
searching CPAN (, I can see that both DateTime::Locale
and DateTime::TimeZone have separate distributions:

So you can download those modules and install them separately.

Have you tried the CPAN module? It will resolve such dependencies
automatically. You run it with

  perl -MCPAN -e shell

or just


on certain platforms. Answer some questions (the default should work),
pick one or more CPAN repositories from the list, and type

  install Net::Google::Calendar

and hopefully it will all work for you.

Jim Gibson

Site Timeline