CPAN fails to install DateTime module

Solution 1:

What OS / Distro are you using? It is generally easier to install these modules from a package because that will get the dependencies too. In Ubuntu you would just:

sudo apt-get install libdatetime-perl

Solution 2:

Actually, I also failed to install the "DateTime" module by using "cpanm" on Fedora 14; I do want to use this module though, instead of your "TimeDate".

Turn into root, and "yum install perl-DateTime.i686"

This gets the work done@_@