The first time testing and installation of DateTime
seems a bit circular to require DateTime::TimeZone inside DateTime
but DateTime-TimeZone-0.11 skipps its make test since
DateTime.pm hasn't been installed.

eg.
    DateTime-0.08$ perl Makefile.PL
    Warning: prerequisite DateTime::TimeZone 0.1 not found.

vs.

    DateTime-TimeZone-0.11$ make test
        all skipped: Cannot run tests before DateTime.pm is installed.


If I install DateTime::TimeZone without testing it first,
I can then do a make test and install in DateTime before
going back to DateTime::TimeZone for the make test and install.

The README in DateTime-TimeZone-0.11 states
    This distribution is dependent on DateTime.pm, but it does not list it
    as a prerequisite.  This is because DateTime.pm is in turn dependent
    on this distribution, and we don't want to create a cyclical chain of
    prerequisites!

but it it also suggest
   perl Makefile.PL
   make
   make test
   make install

Perhaps DateTime::TimeZone's README (and perhaps the skip message
in DateTime-TimeZone-0.11/t/check_datetime_version.p)
should explicitly suggest that the user install it
before testing it, and then come back an test it after
DateTime has been installed, especially since the README in
DateTime-0.08 doesn't warn about the circular dependencies
with DateTime::TimeZone.

Reply via email to